G
Guest
I inherited some code from someone, and I am trying to use Session to store
some information that I need. For some reason, I can see that in another
file, the previous developer used Session["blahblah"] and assigned it to a
value, but when I try and do the same thing in a different part of the code,
(in a different namespace, if that helps), I get a compilation error, saying
that it doesn't exist.
I am using VS .NET 2003 and when I bring up the other file, I can mouse over
the Session object and see that it is a
System.Web.SessionState.HttpSessionState UserControl.Session object. But,
when I go to the file that I am trying to edit, when I mouse over it, it is
unrecognized. It thinks I'm trying to use a variable called Session, instead
of using the system one. Does anybody have any idea why this is happening?
Brian
some information that I need. For some reason, I can see that in another
file, the previous developer used Session["blahblah"] and assigned it to a
value, but when I try and do the same thing in a different part of the code,
(in a different namespace, if that helps), I get a compilation error, saying
that it doesn't exist.
I am using VS .NET 2003 and when I bring up the other file, I can mouse over
the Session object and see that it is a
System.Web.SessionState.HttpSessionState UserControl.Session object. But,
when I go to the file that I am trying to edit, when I mouse over it, it is
unrecognized. It thinks I'm trying to use a variable called Session, instead
of using the system one. Does anybody have any idea why this is happening?
Brian