使用 IIS 7 的 ASP.Net 中频繁注销

发布于 2024-12-25 09:21:37 字数 184 浏览 0 评论 0原文

我们的一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷︶言冷语的世界 2025-01-01 09:21:37

另请检查 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文