且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

登录页面已过期

更新时间:2023-12-03 21:30:40

您可以按照本文:)
中所述更改表单身份验证超时>
会话超时在ASP.NET中默认为20分钟.


在您的web.config文件中修改SessionState超时值.


<!--
    Session Timeout To be set to 120 min of inactivity.
    -->
        <sessionState mode="InProc" timeout="120"/>


in my asp.net application, ''log in'' page expired in each 20 minute.. have any solution for it...

You can change the forms authentication timeout as outlined in this article :)


Session timeout is default to 20 min in ASP.NET.


In your web.config file modify SessionState timeout value .


<!--
    Session Timeout To be set to 120 min of inactivity.
    -->
        <sessionState mode="InProc" timeout="120"/>