ASP.NET Why are sessions timing out, sessionstate timeout set

Be sure to check your IIS configuration because the application pool that your site is hosted on also has its own timeout value which will override your own .config.

To increase it,

  1. Open IIS
  2. Select Application Pools on the left side
  3. Select the Application Pool used by your site
  4. Choose advanced settings
  5. Under Process Model categtory increase the ‘Idle Time-out’ value to the desired length.

Hope this helps.

(If you do not have a dedicated server / access to IIS with your hosting provider you will have to contact them to see if they can increase it for you)

Leave a Comment