会话期满2分钟前如何向用户发送是/否消息? [英] How to give a message yes/No to user before 2 minutes of session expiration?

查看:105
本文介绍了会话期满2分钟前如何向用户发送是/否消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我正在使用VS2005,C#,asp.net.
会话到期前2分钟如何向用户发送消息?
您的会话将在2分钟内到期,您要继续工作吗?是否
如果单击是",则会话不应过期(这意味着延长会话时间).
如果单击否",则该会话可能会在2分钟内过期.
如何在javascript中执行此操作?

在此先感谢
george

Hi Friends,

I am using VS2005,C#,asp.net .
How to give a message to user before 2 minutes of session expiration?
"Your sesssion is going to expire within 2 minutes,Do you want to continue your work,? Yes No
If we click on Yes, the session shouldn''t be expired( that means extend the session time).
If click on No , the session may expire within 2 minutes.
How to do this in javascript?

Thanks in advance
george

推荐答案

有一篇相关文章;
带有可选的刷新和重定向的会话超时警告 [
There''s an article for that;
Session Timeout Warning with optional Refresh and Redirect[^]

There is also a couple of other applicable articles on the subject........sure you can find them now you know they exist.


这篇关于会话期满2分钟前如何向用户发送是/否消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆