空闲状态下的会话超时 [英] Session timeout in idle condition
本文介绍了空闲状态下的会话超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用母版页,并且来自不同文件夹的许多其他页显示在母版页的IFrame中.如果用户在任何其他页面上一段时间(约5分钟左右)都没有执行任何操作,则我想发出一条警告消息,以继续或注销.
I am using a Master page and many other pages from different folders are displayed in the IFrame within the master page. If the user is not doing anything for some time [5 minutes or so] in any of the other pages, I want to give an alert message either to continue or to log out. How to do this?
推荐答案
只需通过链接并按照步骤操作-
http://philpalmieri.com/2009/09/jquery-session-auto-timeout -with-prompt/ [ ^ ]
您也可以通过点击链接查看一个有效的演示-
http://www.philpalmieri.com/js_sandbox/timedLogout/ [
Just go through the link and follow the steps -
http://philpalmieri.com/2009/09/jquery-session-auto-timeout-with-prompt/[^]
You can see one active demo also by hitting link -
http://www.philpalmieri.com/js_sandbox/timedLogout/[^]
Let me know if it works for you or not.
您好,请在下面的链接中使用
ASP.NET中的警报会话超时 [ ]
Hi, Use below link
Alert Session Time out in ASP.NET[]
检查这些博客
显示会话超时计数器的JavaScript [ http://www.vijaykodali.com/Blog/post/2010/05/20/Alert-user-before-session-timeout.aspx [
check these blogs
JavaScript to Show Session Timeout Counter[^]
http://www.vijaykodali.com/Blog/post/2010/05/20/Alert-user-before-session-timeout.aspx[^]
--NDK
这篇关于空闲状态下的会话超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文