How do I abandon a session when ever a particular ASP file unloads? Thus, how do I encapsulate and use the event of a page unloading in ASP?
If you want to abandon a user session just put session.abandon at the end of the page.
But I only want to abandon the session once the user clicks on another link and leaves the page. Thus, only when the page unloads, not when I loads.
put session.abandon an the page they are going to at the top