E
eric
I have a 2.0 asp.net project. In a class contained within a seperate
project, I am trying to reference HttpContext.Current.Session but Session is
always null. I've tried implementing IRequiresSessionState but it does not
seem to matter.
For a test I created a small solution consisting of a web project and a
seperate project to hold a test class. In the test class I reference
HttpContext.Current.Session and it works fine with or without implementing
IRequireSessionState. I'm unable to determine what I'm doing differently in
my real project but cannot find it.
Help would be appreciated.
project, I am trying to reference HttpContext.Current.Session but Session is
always null. I've tried implementing IRequiresSessionState but it does not
seem to matter.
For a test I created a small solution consisting of a web project and a
seperate project to hold a test class. In the test class I reference
HttpContext.Current.Session and it works fine with or without implementing
IRequireSessionState. I'm unable to determine what I'm doing differently in
my real project but cannot find it.
Help would be appreciated.