Karatas, FERHAT
I would love to change the world, but they won't give me the source code!
Forms Authentication timeout default in ASP.NET 2
2.8.2007 12:15:41 - Filed under : Asp.net
One thing to be aware of when upgrading from ASP.NET V1.1 to V2.0 is that the forms authentication timeout value has changed to be 30 minutes by default.  This means that after 30 minutes of inactivity, a user will be prompted to login again (note: everytime they hit the site the 30 minute window clock gets reset -- so it is only if they are idle that it will timeout).

If you want to change the timeout value to be longer, you can easily change the timeout value in your local web.config file (the timeout value is in minutes):
<system.web>
    <authentication mode="Forms">
          <forms timeout="60"/>
    </authentication>
</system.web>
Keywords : Forms timeout default value, web.config
with 0 comments

What do you think ?
Security Code 6610
Check S. Code
Name  
Email  
Home Page  
Comments