Icefaces:仅 IE 中的网络连接超时

发布于 2024-08-17 14:12:01 字数 125 浏览 1 评论 0原文

我的应用程序有一个长时间运行的请求,需要花费一分钟多的时间。如果我使用 Chrome 或 Firefox,我只需要耐心等待。但是,如果我使用 IE,在一分钟标记处我会收到弹出窗口,提示我已达到网络连接超时。

这是为什么?

My application has a long running request that takes over a minute. If I'm using Chrome or Firefox I just need to be patient. If I use IE however, at the one minute mark I get the popup that says I've reached a Network Connection Timeout.

Why is that?

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

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

发布评论

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

评论(1

眼泪淡了忧伤 2024-08-24 14:12:01

默认 Internet Explorer 超时为 1 分钟。由于您的进程是一个长期运行的进程,因此 IceFaces 不会发送响应,并且会超时。

您可以通过为长时间运行的进程生成一个新线程并立即返回响应来避免这种情况。 IceFaces 有大量轮询或推送选项可供您使用,让您的客户知道长时间运行的流程何时完成。

The default Internet Explorer time out is 1 minute. Since your process is a long-running one, IceFaces doesn't send the response and it times out.

You can avoid this by spawning a new thread for your long running process and returning the response immediately. IceFaces has plenty of polling or push options available to you to let your client know when the long-running process is done.

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