Setting Session Timeout in IIS7 when using "Use URI"http://forums.asp.net/t/1767260.aspx/1?Setting+Session+Timeout+in+IIS7+when+using+Use+URI+Fri, 10 Feb 2012 03:38:02 -050017672604822271http://forums.asp.net/p/1767260/4822271.aspx/1?Setting+Session+Timeout+in+IIS7+when+using+Use+URI+Setting Session Timeout in IIS7 when using "Use URI" <p>Hello,</p> <p></p> <p>I was trying to configure the session timeout for my Web Application and encountered some difficulties with IIS7.</p> <p>We are using &quot;Use URI&quot; mode for our Session State (and changing that is not an option).</p> <p>When run locally the configuration in the web.config seems to work fine:</p> <pre class="prettyprint">&lt;sessionState cookieless=&quot;UseUri&quot; timeout=&quot;120&quot;/&gt;</pre> <p>But when the application is deployed in the IIS the session timeout must be configured again in the IIS (or in the IIS exclusively?).</p> <p>In the Session State configuration in the IIS menu when I select Mode: &quot;Use URI&quot; the Time-out field gets disabled, so I'm not able to configure the Session timeout and I'm stuck with the default value.</p> <p>So here comes my question:</p> <p>Why can't I configure the session timeout? Even if I don't use cookies, shouldn't I be able to tell the server how long the session id in the URL is valid?</p> <p>Is there any way to configure the session timeout in IIS when using &quot;Use URI&quot; mode?</p> <p></p> <p>Greetings</p> <p>Lars</p> 2012-02-08T10:27:02-05:004825461http://forums.asp.net/p/1767260/4825461.aspx/1?Re+Setting+Session+Timeout+in+IIS7+when+using+Use+URI+Re: Setting Session Timeout in IIS7 when using "Use URI" <p>Hello,</p> <p></p> <p>Go to IIS, right click on Application pools &gt; Properties &gt; 2nd Tab Performance &gt; increase time to 120 (Default 20min) from Shutdown worker processes after being Idle for (time in minutes)</p> <p></p> <p></p> <p>Regards,</p> <p>Sachin.</p> 2012-02-10T03:38:02-05:00