我们如何在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[^].