ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2019 All rights reserved.Increase session timeout to 1 hour in ASP.Net<p>Hi <a class="username" rel="akshay806">akshay806</a>,</p> <p>You can increase the session timeout in the following ways.</p> <p><span style="text-decoration: underline;"><strong>Web.config</strong> </span></p> <p>Open your web.config file and under the <strong>system.web</strong> section add the following.</p> <pre class="brush: xml">&lt;sessionState timeout = &#34;60&#34; mode = &#34;InProc&#34; /&gt;</pre> <p>Default Session Timeout is 20 minutes. Replace 60 (minutes) with time you wish.</p> <p><span style="text-decoration: underline;"><strong>Global.asax file</strong></span></p> <p>Under the <strong>Session_Start</strong> method, set the <strong>timeout </strong>property of the session to the required value like this.</p> <pre class="brush: csharp">Session.Timeout = &#34;60&#34;;</pre> <p>&nbsp;</p>, 21 Feb 2018 01:12:55 GMT