0

I have an ASP site where the session would expire within 30 minutes or sometimes less. The Session mode was 'InProc', so I changed it to 'StateServer', and also started the 'ASP.NET State Service', but I am still running into similar issues. I also changed the application pool's 'Idle Time-out' to '0'.

<sessionState cookieless="false" mode="StateServer" stateConnectionString="tcpip=localhost:42424" stateNetworkTimeout="20" />

Any idea why the session is expiring or not sticking around after leaving the application idle for about 30 minutes or less?

Thanks. Sanjeev

neminem
  • 2,658
  • 5
  • 27
  • 36
sanjeev40084
  • 9,227
  • 18
  • 67
  • 99

1 Answers1

2

There is a session timeout you can set, it takes number of minutes.

<sessionState ... timeout="60"  />
aw04
  • 10,857
  • 10
  • 56
  • 89