Hi,
Can you guys let me know for how long the session values will be available when the mode is state server? Thanks!
Hi,
Can you guys let me know for how long the session values will be available when the mode is state server? Thanks!
It will store it until ASP.NET state service i.e your state server is running....so it will be lost if you restart it...more information here - http://msdn.microsoft.com/en-us/library/ms178586.aspx
The session values will be lost on restart of the application which can be cause by a lot of things (web.config change , iisreset, rebooting the box)
The session values will also be removed when the session ends. By default I think its 20 minutes of inactivity
<sessionState mode="StateServer"
stateConnectionString="tcpip=SampleStateServer:42424"
cookieless="false"
timeout="20"/>