Dec 26, 2013 05:35 PM|rdavidd|LINK
Thanks for your reply. I have come to the conclusion that there isn't a way to fire an event when a browser is not on the site. It appears that as 'cool' as the heart beat idea might be, there is no practical way to make it work from an ASP.NET application
Currently the application's routines are being reworked to use the Session_End event instead. When the Session_End event fires, the session data is eventually gone, so you cannot use session variables for any cleanup routines. Instead the plan is to create
some global App_Code variables that will be set in the Application_Start event and then use them in the Session_End event to remove any inactive session data and temp directories.