Home Forums Tech Web Development ASP.NET Session and Form Authentication Timeout

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2264
    Udar Gromov
    Keymaster

    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.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.