我们如何在web.config中修复30分钟的会话超时 [英] How can we fix session timeout for 30 minute in web.config

查看:86
本文介绍了我们如何在web.config中修复30分钟的会话超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何在web.config中修复30分钟的会话超时.当我登录后,在我的网站上停留了几分钟,然后单击其他页面.

How can we fix session timeout for 30 minute in web.config. When i logged in, in my site & stays for some minute then i click on other page. it''ll logged out.

推荐答案

您好,

在Web.config中修改会话.

< configuration>
< system.web>
< sessionstate timeout ="20"/>
</system.web>
</configuration>

谢谢!!!
Hello,

Modify Session out in Web.config.

<configuration>
<system.web>
<sessionstate timeout="20"/>
</system.web>
</configuration>

Thanks!!!


您必须设置超时"属性值.

有关更多详细信息,请参见 [
You''ve to set the ''timeout'' attribute value.

For more details, look at this[^].


这篇关于我们如何在web.config中修复30分钟的会话超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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