Session Time out in IIS 7

Total Post:40

Points:280
 877  View(s)
Ratings:
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.

  1. Post:1

    Points:7
    Re: Session Time out in IIS 7

    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  .. :)) 

  1. Post:127

    Points:915
    Re: Session Time out in IIS 7

    Anurag,

    Check your connection timeout in following areas - IIS











  1. Post:106

    Points:748
    Re: Session Time out in IIS 7

    Configures session state settings for the current application.

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

Answer