J
Jeff Shantz
Hello,
I've got two classes: EventLog and ErrorLog. I need to access Session
state from these classes, but they are not associated with ASPX pages.
So I've been accessing the Session object through
HttpContext.Current.Session["someVar"].
This was working fine for several months. Suddenly, ErrorLog stopped
being able to "see" the Session object. I made no changes, so I'm
frankly quite stumped. They both import the same namespaces, yet when
ErrorLog is executing and I set a watch on
"HttpContext.Current.Session", it shows as "<undefined value>".
Any ideas? Thanks.
Regards,
Jeff Shantz
I've got two classes: EventLog and ErrorLog. I need to access Session
state from these classes, but they are not associated with ASPX pages.
So I've been accessing the Session object through
HttpContext.Current.Session["someVar"].
This was working fine for several months. Suddenly, ErrorLog stopped
being able to "see" the Session object. I made no changes, so I'm
frankly quite stumped. They both import the same namespaces, yet when
ErrorLog is executing and I set a watch on
"HttpContext.Current.Session", it shows as "<undefined value>".
Any ideas? Thanks.
Regards,
Jeff Shantz