Session Variables
Date: 02/21/05
(Web Development) Keywords: browser, html, asp, java
My ASP application uses several session variables. If the user exits properly - by using the in browser controls then they will clear (using session.abandon) and all will be good.
The problem is that there is a single HTML form with a javascript menu that remains open. If the user does not exit through the controls I have given them, but x's out of the browser, and then goes back in to the application - the session variables still exist.
I'm trying to figure out how/where I can clear these variables. I can't do it when the form loads because it reloads many times, and I need to keep the session variables. I can't put it in the HTML menu page either, because that one never reloads.
Any ideas/suggestions?
Thanks!
Source: http://www.livejournal.com/community/webdev/174225.html