Home > DeveloperSection > Forums > Session Time out in IIS 7
Anurag Sharma
Anurag Sharma

Total Post:40

Posted on    May-06-2016 5:20 AM

 IIS 7 ASP.Net  IIS 7  Session Timeout  IIS 

 3 Reply(s)
 339  View(s)
Rate this:
I have hosted a app on IIS but when we are accessing and logging to web application then session expires in every 2 - 3 minutes.
Please advice.

Shivam Maurya
Shivam Maurya

Total Post:1

Posted on    May-08-2016 9:18 AM

open up ur  web.confing and set 
<sessionState timeout = "20" mode = "InProc" />  inside the <system.web>
and replace 20 whatever you need  . 
or u can use Session.Timeout = "20"; in global.asax file:under the session_start method 
and you have done  .. :)) 

Uttam Misra

Total Post:124

Posted on    May-09-2016 4:52 AM


Check your connection timeout in following areas - IIS

John Smith

Total Post:101

Posted on    May-09-2016 4:55 AM

Configures session state settings for the current application.


Don't want to miss updates? Please click the below button!

Follow MindStick