Gunslinger08
Lifer
I need to call some server side code when a user leaves my site to delete a cookie. Unfortunately, I can't just make it a session cookie, for various reasons. I realize there's an onunload event for the body tag, but this event is fired for refreshes, postbacks, internal links, etc. I need a way to check where the user is going (or if they're closing their browser).