How to stop frequent Session Time outs in your Deployed website in IIS.

I had a very strange issue that in recent times that the deployed Website in IIS is frequently facing session Expired Problem at my Client Side.My Project Manager asked to solve this problem.So how i solve this problem.I will discuss in this Article.

The Project which i am working had got a very strange problem that it is facing frequent Session timeout at my client machine.And Everybody treats that increase of the Session time in the Webconfig file can solve our problem.But that did n't solved our problem.What are the steps that i had taken to solve this problem i need to discuss here.

Step:1I open my Internet information services VERSION 7.0 in my Computer.and select a dummy project in the IIS 7.0 in the right pane i saw a sessionstate icon i selected and double Click here there are so many radio button for selection one is not enable two is In process three is Custom and fourth one is session state server.In my project i am using inprocess mode so it is default selected and TimeOut is 20 minutes by default.Now i changed to 20 Minutes to 120 Minutes.And click apply.It acknowledges me Saved information successfully.See the Below Image.

Session setting in IIS

Now i observe my Webconfig file it is Updated like this.


Now i need to set the idle time out for my Website.For that i select Application pools which is there at the top of the Internet information services.On the Extreme right pane I have SetApplicationPooldefaults Which is a Link and i click that a Poppup with some properties had visible.I carefully observe is there any property that i can set for idle Timeout
yes its there now i set the property for that.It is by default 20 minutes i changed to 120.

see the below image

Application pool in iis

Now i sent a mail regarding these things to change for those People who are working on the Client Computer.They have done all those now they are not facing any session time outs problem.I am very happy that i rectified this problem.


Article by srirama
A Good advice from parent to a Child , Master to a Student , Scholar to an Ignorant is like a doctor prescribed pill it is bitter to take but when they take it will do all good for them --- Bhushan

Follow srirama or read 74 articles authored by srirama


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: