ASP.NET 页面超时

发布于 2024-09-28 06:04:11 字数 457 浏览 0 评论 0原文

我正在使用 DNN 5.5.0 和 RadAjaxManager。

如果我在网页中处于活动状态,一切都会正常工作。但是,如果我离开页面超过 2 分钟,我的 AJAX 请求就会超时 (PageRequestManagerTimeoutException)。从那时起,该页面基本上已损坏,我必须重新加载页面才能再次运行。我的会话超时肯定是 20 分钟,当会话超时发生时,我希望被重定向到登录页面。我只能认为这与 90 秒的 AsynchTimeout 有关,但是如果我禁用 AJAX,我仍然会遇到页面超时。将 AsynchTimeout 设置为 600 秒没有任何效果。我非常有信心这不是在服务器端,因为在不活动后返回时我没有到达 PageInit 中的断点。

由于不活动而返回 ASP.NET 页面时,什么可能导致服务器/客户端之间的 POST 回请求丢失。在此阶段,我正在 Windows 7 和 SQL Server Express 2008 的测试环境中进行开发。

I'm using DNN 5.5.0 and RadAjaxManager.

If I'm active within the web page everything works fine. However if I leave the page for longer than 2 minutes my AJAX requests timeout (PageRequestManagerTimeoutException). From then the page is basically broken and I have to reload the page to get it going again. My session timeout is definitely 20 minutes and I would expect to be redirected to the Login page when the session timeout occurs.I can only think this is somehow related to AsynchTimeout of 90s however if I disable AJAX I still get a page timeout. Setting AsynchTimeout to 600s has no effect. I'm pretty confident this is not on the server-side as I don't get to my breakpoint in the PageInit when returning after inactivity.

What could cause POST back requests to get lost between server/client when returning to an ASP.NET page due to inactivity. At this stage I'm developing in a test environment on Windows 7 and SQL Server Express 2008.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

乖乖公主 2024-10-05 06:04:11

尝试在 IIS 7 中手动设置默认值(它更改了 IIS 6 和 7 之间的一系列默认值,最明显的是超时)。

Try manually setting a default in IIS 7 (it changed a bunch of defaults between IIS 6 and 7, most noticeably timeouts).

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