View Full Version : research about closing windows

10-31-2007, 04:05 AM
a week now i'm tring to solve out how can i pick the moment when user shot down the window and do some operation.
i made a real research and thought about all kind of stupid creative crazy and long ways to do this...
the solution got to run on average pc with internet explorer 6+ and with popupblocker.
i'm running my files on brinkster.com...they do not support scheduale tasks...

-global.asa ,session_onend never shoots... disqualified!
-popups blocked... disqualified!
-schedualed stored task not supported... disqualified!

dear Experts, do you have a crazy creative way that can bring back the color to my life?:)

10-31-2007, 02:48 PM
Google is your friend (http://www.google.com/search?q=site%3Acodingforums.com+Session_OnEnd+close+window&qfront=Session_OnEnd+close+window).

In short, there are some solutions that rely on JS and the onunload event. And a session will eventually timeout for a user that simply closed their browser. But other than that, you can't do it. Do not rely on Session_OnEnd.