使用 IIS 7 的 ASP.Net 中频繁注销
我们的一个 ASP.Net 2.0 应用程序最近从 Windows 2003 Server 转移到 Windows 2008 R2 服务器。此后我们发现用户非常频繁地注销(1 或 2 分钟)。
我已经检查了事件日志,还检查了所有会话超时值,并尝试了来自谷歌搜索和此处的许多其他解决方案,但尚未解决此问题。
有人可以帮忙吗?
One of our ASP.Net 2.0 applications was recently shifted to a Windows 2008 R2 server from a Windows 2003 Server. After this we find that users are logged out very frequently (1 or 2 minutes).
I have checked Event logs and also checked all the session time out values and tried many other solutions from google search and here, but no solution has fixed this issue yet.
Can somebody help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
另请检查 IIS 日志以了解应用程序池重新启动情况。我假设您的会话状态存储在内存中(默认),因此当应用程序池重新启动时它将被清除。您可能还想尝试使用 ASP.NET 性能计数器来检查它
http:// msdn.microsoft.com/en-us/library/fxk122b4.aspx
计数器名称为“工作进程重新启动”
Please also check IIS logs for application pool restarts. I assume that your session state is stored in memory (default) so it will be cleared when application pool restarts. You might also want to try ASP.NET Performance Counters to check for it
http://msdn.microsoft.com/en-us/library/fxk122b4.aspx
Counter name is Worker Process Restarts