Home :
Tutorials
Increase The Login Timeout Period In An Asp Net Application
Added by
David Coleman
on
18 March 2011
ASP.net Forms Timeout
The ASP.net forms authentication system has a separate timeout setting from your web application's session settings.It's very easy to change the length of time that a user will be logged in for without automatically logging them out due to inactivity. By default the setting is 30 minutes. You can specify your own length of time in minutes by just adding or editing the following snippet into your web.config file:
<authentication mode="Forms">
<forms timeout="60"> </forms>
</authentication>
The above example will increase the login period to an hour.
Setting this property to a very high number will effectively appear to leave users logged in indefinitely.
There are no comments yet