如果应用程序空闲则关闭 [英] close if the application is idle

查看:79
本文介绍了如果应用程序空闲则关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想仅为我的应用捕获非活动时间。



如果用户不使用我的应用程序(已经打开)说5分钟,然后我想自动注销用户并关闭应用程序。





(我正在使用visual studio 2005)



提前谢谢

i want to capture inactive time for my app only.

If the user don't use my app (which is opened already) for say 5 minutes, then i want to auto log out the user and close the application.


( I am using visual studio 2005)

Thanks in advance

推荐答案

使用formsauthentication设置超时它将自动重定向
using formsauthentication set timeout it will automatically redirect


这篇关于如果应用程序空闲则关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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