title: Sitecore 7.5 MVC and HttpContext.Session.Timeout set to 1 min
body: <p>I have the session timeout set to <strong>20min</strong> but when I try to access this value from action I'm getting <strong>1min</strong> instead.</p>
  
  <p>Web.Config settings are:</p>
  
  <pre><code>&lt;sessionState mode="InProc" cookieless="false" timeout="20"&gt;
  
  &lt;authentication mode="None"&gt;
    &lt;forms name=".ASPXAUTH" cookieless="UseCookies" timeout="20" /&gt;
  &lt;/authentication&gt;
  </code></pre>
  
  <p>In Global.asax.cs in Session_Start value of timeout is <strong>20min</strong>:</p>
  
  <pre><code>HttpContext.Current.Session.Timeout
  </code></pre>
  
  <p>But in action in my controller is set to <strong>1min</strong>:</p>
  
  <pre><code>System.Web.HttpContext.Current.Session.Timeout 
  HttpContext.Session.Timeout
  </code></pre>
  
  <p>I've found that when I remove <code>SitecoreHttpModule</code> which is of type (<code>Sitecore.Nexus.Web.HttpModule,Sitecore.Nexus</code>) from web.config the timeout works fine but I dont think I can remove it permanently. </p>
  
  <pre><code> &lt;system.webServer&gt;
      &lt;modules runAllManagedModulesForAllRequests="true"&gt;
        &lt;remove name="WebDAVModule"/&gt;
        &lt;add type="Sitecore.Web.RewriteModule, Sitecore.Kernel" name="SitecoreRewriteModule"/&gt;
        &lt;!-- !!!REMOVED MODULE!!! &lt;add type="Sitecore.Nexus.Web.HttpModule,Sitecore.Nexus" name="SitecoreHttpModule"/&gt; --&gt;
        &lt;add type="Sitecore.Resources.Media.UploadWatcher, Sitecore.Kernel" name="SitecoreUploadWatcher"/&gt;
        &lt;add type="Sitecore.IO.XslWatcher, Sitecore.Kernel" name="SitecoreXslWatcher"/&gt;
        &lt;add type="Sitecore.IO.LayoutWatcher, Sitecore.Kernel" name="SitecoreLayoutWatcher"/&gt;
        &lt;add type="Sitecore.Configuration.ConfigWatcher, Sitecore.Kernel" name="SitecoreConfigWatcher"/&gt;
        ...
      &lt;/modules&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>Is there any place I can configure this timeout for this module or there is any other way to set session timeout to desired value?</p>