SESSION TIME OUT IN IIS 7

Anurag Sharma

Total Post:40

Points:280
Posted by  Anurag Sharma
 595  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. Shivam Maurya

    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. Uttam Misra

    Post:125

    Points:897
    Re: Session Time out in IIS 7

    Anurag,

    Check your connection timeout in following areas - IIS











  1. John Smith

    Post:102

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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!