How To Keep ASP.NET Session Alive
If visitor doesn't make any web request in time interval longer than specified as session timeout (20 minutes by default), session will expire. That means all session variables will be deleted. Sometimes, we want to keep session alive and wait while user is completing some long task. This tutorial explains how to keep ASP.NET Session alive using JavaScript, jQuery, Meta Refresh or ASP.NET Ajax.