title: How to increase session timeout time in Asp .Net MVC 5?
body: <p>Application logout automatically in few seconds, i want to increase it to 30mins.</p>
  
  <p>I have done some code in web.config file but it doesn't work. i have researched many articles on it but i could not resolve it.</p>
  
  <p>Web.config code :</p>
  
  <pre><code>&lt;sessionState mode="InProc" timeout="1800"&gt;&lt;/sessionState&gt;
      &lt;authentication mode="Forms"&gt;
        &lt;forms loginUrl="~/Login" timeout="1800"&gt;
        &lt;/forms&gt;
      &lt;/authentication&gt;
  </code></pre>