- This topic has 0 replies, 1 voice, and was last updated 13 years, 10 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Tech › Web Development › ASP.NET Session and Form Authentication Timeout
ASP.NET Session and Form Authentication Timeout
I do not want to keep logging into my own routine ASP.NET sites over and over again.
I needed to increase a timeout.
First I added new attribute to web.config file
<authentication mode=\"Forms\">
<forms name=\"AUTH\" loginUrl=\"~/Login.aspx\"
cookieless=\"AutoDetect\" timeout=\"40000\" />
and then
I used IIS Admin to set a new value for the site Session State – Cookie Settings – Time-out to the same high number of minutes
Every 10000 minutes correspond to about a week time. Maximum value is one year, i.e. 60*24*365 = 525,600 minutes.
© 2017 DomainWebCenter.com. All Rights Reserved. | Disclaimer | Contact the Editor