title: Why is my session timeout happening early?
body: <p>I have set session timeout to 2880 seconds (48 minutes) in my web.config file which is:</p>
  
  <pre><code>&lt;system.web&gt;
      &lt;authentication mode="Forms"&gt;
          &lt;forms loginUrl="~/Account/Login" timeout="2880" /&gt;
      &lt;/authentication&gt;
      &lt;sessionState mode="InProc" timeout="2880" cookieless="false" customProvider="DefaultSessionProvider" &gt;
          &lt;providers&gt;
              &lt;add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxx" connectionStringName="DefaultConnection" /&gt;
          &lt;/providers&gt;
      &lt;/sessionState&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p>When I run this program locally, it's working, but when I test it online after deploying, my session times out after 20 minutes.</p>