IIS 6.0 Not loading SessionState for .NET 3.5 Application using HttpHandler
QA and Dev enviroments work perfectly. Handlers all implement the IRequiresSessionState marker.
Config File con开发者_开发知识库tains:
<pages enableSessionState="true">
and
<sessionState cookieless="AutoDetect" mode="InProc" timeout="20" />
IIS has session state enabled in application properties and Application is running in its own Application Pool....
So big difference in IIS 6 vs IIS 7.
The Session module need to be stated in the httpModules config section, as VS2008 adds a , and adding it to the web.server section does nothing...
<add name="Session" type="System.Web.SessionState.SessionStateModule"/>
精彩评论