Hi,
I like to host asp.net web application in IIS 7.0 (windows server 2008).
I configured session state as sessionstate mode="inproc" timeout = 120. Even the session expires within 15 seconds. What could be the problem?.
Thanks, P.Gopalakrishnan.
Hi,
I like to host asp.net web application in IIS 7.0 (windows server 2008).
I configured session state as sessionstate mode="inproc" timeout = 120. Even the session expires within 15 seconds. What could be the problem?.
Thanks, P.Gopalakrishnan.
sounds like the session timeout is set incorrectly in the web.config you could try something like:
<system.web>
<sessionState timeout="2" />
to set the timeout to 2 minutes
http://msdn.microsoft.com/en-us/library/h6bb9cz9(vs.71).aspx
Check the Windows Event Log to ensure that the Worker Process is not being forced to recyle.
There may be something in your code that causes the Worker Process to force itself to recyle in which case when the session is stored inProc it will loose all session values it's holding.