title: Web.Config session timeout not set, vb.net
body: <p>I have read about a million posts online regarding session timeout in config file and I am near tears.  I have the following code in my config file.  I have set the timeout to 1 minute as a test.  The session does indeed end within 1 minutee however, if I set to 120 (2 hours) which is what i want, the session end after the default time of 20 minutes i believe.  Can anyone offer some help.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
  &lt;system.web&gt;
  &lt;sessionState mode="InProc" cookieless="false" timeout="1" &gt;
  &lt;/sessionState&gt; 
  &lt;compilation debug="true"/&gt;
  &lt;authentication mode="Forms"&gt;
  &lt;forms defaultUrl="~/Default.aspx"
      loginUrl="~/Default.aspx"
      name=".ASPXFORMSAUTH"
      slidingExpiration="true"
      timeout="1" /&gt;
  &lt;/authentication&gt; 
  &lt;customErrors mode="Off" /&gt;
   &lt;/system.web&gt;
   &lt;/configuration&gt;
  </code></pre>