我喜欢在IIS 7.0(Windows Server 2008)中托管asp.net Web应用程序。
我将会话状态配置为sessionstate mode =“inproc”timeout = 120。即使会话在15秒内过期。 可能是什么问题呢?。
谢谢
I like to host asp.net web application in IIS 7.0 (windows server 2008).
I configured session state as sessionstate mode="inproc" timeout = 120. Even the session expires within 15 seconds. What could be the problem?.
Thanks
最满意答案
检查Windows事件日志以确保工作进程不被强制回收。
在你的代码中可能有某些东西会导致工作进程强制自己重新执行,在这种情况下,当会话存储在inrocroc中时,它将失去它所持有的所有会话值。
Check the Windows Event Log to ensure that the Worker Process is not being forced to recyle.
There may be something in your code that causes the Worker Process to force itself to recyle in which case when the session is stored inProc it will loose all session values it's holding.
更多推荐
发布评论