在asp.net中一段时间后自动注销代码 [英] Automatic Logout Code after some time in asp.net
本文介绍了在asp.net中一段时间后自动注销代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在asp.net中的一段时间后自动注销代码
解决方案
在web.config中试试这样的内容
< configuration >
< system.web >
< sessionstate timeout = 10 / >
< / system.web >
< / configuration >
使用会话和会话超时实现这个
这是关于自动退出的完整功能..它会帮助你
http://firozansari.com/2009/05/15/implementing-auto-logout-functionality/ [ ^ ]
Automatic Logout Code after some time in asp.net
解决方案
Try out like this in web.config
<configuration> <system.web> <sessionstate timeout="10" /> </system.web> </configuration>
Use Session and Session Timeout to implement this
It's complete Functionality about "Auto-Logout"..it will help you
http://firozansari.com/2009/05/15/implementing-auto-logout-functionality/[^]
这篇关于在asp.net中一段时间后自动注销代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文