5分钟后自动注销 [英] Automatic logout after 5minutes
本文介绍了5分钟后自动注销的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好.我希望用户在5分钟后自动注销,但条件是用户闲置5分钟.我在Web配置文件中使用了以下代码,但无法正常运行
hello. i want users to automatically get logged out after 5minutes,with the condition if user is idle for 5minutes. i used the following code in to the web config file but its not working
<authentication mode="Forms">
<forms loginUrl="~/Login.aspx" timeout="1"/>
</authentication>
推荐答案
看看这里回答的类似问题: ^ ]
Have a look at similar question answered here: session time handling[^]
这篇关于5分钟后自动注销的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文