开发者

IIS 6.0 Not loading SessionState for .NET 3.5 Application using HttpHandler

开发者 https://www.devze.com 2022-12-11 05:26 出处:网络
QA and Dev enviroments work perfectly. Handlers all implement the IRequiresSessionState marker. Config File con开发者_开发知识库tains:

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"/>
0

精彩评论

暂无评论...
验证码 换一张
取 消