A
Amy
Hello,
I'm having an odd issue with accessing a Session variable on a web
form.
If i access it from the PageLoad event, it works fine. If I take it
out of the PageLoad event, I get the error -
"an object reference is required for the nonstatic field, method, or
property "System.Web.UI.Page.Session'"
Can anyone explain why this is happening?
thanks in advance,
Amy
I'm having an odd issue with accessing a Session variable on a web
form.
If i access it from the PageLoad event, it works fine. If I take it
out of the PageLoad event, I get the error -
"an object reference is required for the nonstatic field, method, or
property "System.Web.UI.Page.Session'"
Can anyone explain why this is happening?
thanks in advance,
Amy