Reply to thread

Can you reference session variables the same in C# as in VB?  It seems to not like when I say:


string user = Session("userName");


It says something about: CS0118: System.Web.UI.UserControl.Session denotes a property where a method was expected


and points to that line.  Any ideas?


Back
Top