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

Total Post:40

Points:280
Posted on    May-06-2016 5:20 AM

 IIS 7 ASP.Net  IIS 7  Session Timeout  IIS 
Ratings:


 3 Reply(s)
 364  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

Points:7
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:125

Points:897
Posted on    May-09-2016 4:52 AM

Anurag,

Check your connection timeout in following areas - IIS












John Smith

Total Post:102

Points:720
Posted on    May-09-2016 4:55 AM

Configures session state settings for the current application.

https://msdn.microsoft.com/en-us/library/h6bb9cz9%28vs.71%29.aspx

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

Follow MindStick