Skip to main content

Session timeout problem in IIS

Hi,

Long time no post, i will try to post again since i came out searching a typical solution over and over again :D

Now i'm gonna post about session. Since i got this from other link so here it is
So I started looking into the IIS settings and came to know that i missed two things to change :
  1. Application pool’s Idle Time-out(minutes)
  2. Session state – State server’s Time-out (seconds)
Once I have changed above settings than after Session timeout worked.
So after that I have made one checklist that can help us to validate Session timeout settings, here i am sharing it with you as well so that you will also get some benefits from it :
  1. Application Pool – Advanced Settings Menu – Process Model – Idle Time-out (minutes)
  2. Sites – Session State – Cookie Settings – Time-out (minutes)
  3. If you are using State Server or SQL Server to manage your session (instead of InProcess), Here is the steps to follow :       Sites – Session State – Session State Mode Settings – Time-out (seconds)
  4. Under Web.config – system.web – authentication mode – forms – timeout (for form authentication)
That is all , no more things you need to set in order to increase session timeout from its default value.
Simple but very useful tips.
thanks for sharing it. Credit goes to Jay Ganesh

Comments