I have tried very hard but cannot find a solution on how to set session timeout value for in-process session for an ASP.Net web application.
I am using VSTS 2008 + .Net 3.5 + C#. Here is what I wrote by myself to set timeout to be 1 minute, is it correct?
I wrote under system.web section in the web.config
<sessionState timeout="1" mode="InProc" />
If you want to set the timeout to 20 minutes, use something like this:
<configuration>
<system.web>
<sessionState timeout="20"></sessionState>
</system.web>
</configuration>