Refresh ASP.net session after default timeout
4 answers
I had a similar problem a while ago and found this article very helpful - at least in overcoming part of the problem.
I also added the following line to the defribulator page to prevent caching and it works great for us.
Basically it does an invisible postback (session resume) shortly before the expiration date - we actually do this a little earlier.
Hope this helps, but I can dig up some of the code I used if you want to take a look.
+3
source to share
Not really. At least not after the expiration date.
The most common thing I've seen is periodically send a "PING" Ajax request. Just something to access the server and restart the timeout for the session.
Jeff wrote about this some time ago.
+1
source to share