S
Sascha Kuhl
I'm working on a piece of code that sets a cookie, depending on the some
Session State values in the PreRequestHandlerExecute event of my App.
The code works on my development machine (Windows XP Prof. and IIS 5.0 +
..NET Framework version 1.1.4322) as well as on a testsystem running with
Windows 2003 WebEdition (IIS 6.0 + .NET Framework version 1.1.4322).
But on 2 other webservers (Windows 2003 IIS 6.0 + .NET Framework version
1.1.4322), the following exception is raised:
HttpException: Session State is not available in this context.
Is my problem perhaps a matter of reconfiguring IIS, the Framework or my
application? (I've already compared Metabase.xml, web.config and
machine.config and haven't found any significant differences).
I made some research on that issue and I found an article telling, "Session
State is not available in that event (despite MS documentary claims to the
contrary)":
http://weblogs.asp.net/acampbell/archive/2003/09/27/29395.aspx
Can anybody please tell, what to believe?
Thnx for any post in advance
Session State values in the PreRequestHandlerExecute event of my App.
The code works on my development machine (Windows XP Prof. and IIS 5.0 +
..NET Framework version 1.1.4322) as well as on a testsystem running with
Windows 2003 WebEdition (IIS 6.0 + .NET Framework version 1.1.4322).
But on 2 other webservers (Windows 2003 IIS 6.0 + .NET Framework version
1.1.4322), the following exception is raised:
HttpException: Session State is not available in this context.
Is my problem perhaps a matter of reconfiguring IIS, the Framework or my
application? (I've already compared Metabase.xml, web.config and
machine.config and haven't found any significant differences).
I made some research on that issue and I found an article telling, "Session
State is not available in that event (despite MS documentary claims to the
contrary)":
http://weblogs.asp.net/acampbell/archive/2003/09/27/29395.aspx
Can anybody please tell, what to believe?
Thnx for any post in advance