title: Session Timeout doesnt work in ASP .Net
body: <p>I have checked various questions asked in SO in this topic also tried the solutions provided for the various questions, but it doesnt work for me. 
  My application is ASP .Net4.5, I store username, usertype in session and later it is used while inserting data to the SQL tables. I have set the session time out in webconfig as follows.</p>
  
  <pre><code>  &lt;system.web&gt;
        &lt;authentication mode="Forms"&gt;
          &lt;forms loginUrl="Login.aspx" name=".mycookie" timeout="60"&gt;&lt;/forms&gt;
    &lt;/authentication&gt;
  &lt;sessionState mode="InProc" cookieless="false" timeout="60" /&gt;
  </code></pre>
  
  <p>In the IIS settings against Sessionstate the following were set</p>
  
  <pre><code>SessionState = In Process
  Cookie settings -&gt; Mode = Use Cookies
                     Name = ASP.Net_SessionId
                     Timeout (min) = 60
  </code></pre>
  
  <p>I'm not sure whether I'm setting this in wrong way in the above settings. The issue is my application session timeouts much before the set time, I feel it gets timeout in 10-15 minutes. Please advise how to set the timeout value correctly.</p>