验证如何完成会议的到期

发布于 2025-02-08 10:34:23 字数 372 浏览 2 评论 0原文

阅读文档,我提到了以下假设。有人可以验证是否正确吗?谢谢

,如果心跳设置为10秒,则客户每10秒就会发送1个心跳。

然后有两个条件:

  1. 如果iscloseIdleSessions()== false,则在3x10 = 30秒之后,没有用户交互,则不会杀死会话。如果浏览器上没有UI可见,它将在30秒内被杀死。

  2. 另一方面,如果iscloseidlesessions()== true,则在3x10 = 30秒后,当UI可见时,会话被杀死时没有用户交互。如果在浏览器上看不到UI,则会也会杀死。

Reading the docs, I came to the following assumption. Can someone please validate if it is correct or not? thanks

If the heartbeat is set to 10 seconds, then the client sends 1 heartbeat every 10 seconds.

Then there are two conditions:

  1. If isCloseIdleSessions() == false, then if after 3x10 = 30 seconds there's no user interaction, the session is NOT killed. It would be killed in 30 seconds if there's no UI visible on the browser.

  2. If on the other hand isCloseIdleSessions() == true, then after 3x10 = 30 seconds there's no user interaction while the UI is visible the session is killed. The session is killed too if no UI is visible on the browser.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文