[Javascript] Grab close window call

tedd tedd at sperling.com
Tue Apr 1 07:58:52 CDT 2008


At 12:30 PM +0100 4/1/08, Alan Easton wrote:
>
>Any ideas would be great.


My advice:

1. Don't annoy the user with "Do you want to close this?" -- s/he 
already made their choice.
2. Do "End of Session" via the "End of Session" link and window.onbeforeunload.
3. Do a periodic time check in your dB for unclosed sessions and set 
them accordingly.

Cheers,

tedd
-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com



More information about the Javascript mailing list