ASP.net: Session timeout prevention (keep alive).


/ Published in: ASP
Save to your folder(s)

Call AddKeepAlive() in Page_Load of the page that needs it. Change the path to the correct keep alive page.

Page should disable caching, like in second code snippet.

URL: http://www.codeproject.com/KB/session/Reconnect.aspx

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.