如何在空闲时间超过10分钟时使用户会话到期 [英] How to Expire user session when it is idle upto 10 mints
本文介绍了如何在空闲时间超过10分钟时使用户会话到期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个问题要强制到期用户会话,当它空闲时最多10分钟
请帮助
谢谢
I a have a question to forcefully expire User session when it is idle upto 10 mints
Kindly help
Thanks
推荐答案
在web.config中你必须改变如下:
In the web.config you have to change as the follows:
<configuration>
<system.web>
<sessionstate timeout="10"></sessionstate>
</system.web>
</configuration>
这篇关于如何在空闲时间超过10分钟时使用户会话到期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文