验证如何完成会议的到期
阅读文档,我提到了以下假设。有人可以验证是否正确吗?谢谢
,如果心跳设置为10秒,则客户每10秒就会发送1个心跳。
然后有两个条件:
如果
iscloseIdleSessions()== false
,则在3x10 = 30
秒之后,没有用户交互,则不会杀死会话。如果浏览器上没有UI可见,它将在30秒内被杀死。另一方面,如果
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:
If
isCloseIdleSessions() == false
, then if after3x10 = 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.If on the other hand
isCloseIdleSessions() == true
, then after3x10 = 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论