-----------------------------------------------------------------------
FAQ Topic - How do I log-out a user when they leave my
site?
-----------------------------------------------------------------------
This cannot be done reliably. Here's why:
*
The user may disable javascript so the log-out script will
never execute.
*
The user may not be on-line when they close your web page.
*
Javascript errors elsewhere in the page may prevent the script
executing.
*
The browser may not support the onunload event, or may not fire
it under certain circumstances, so the log-out function will
not execute.
The URL below has more information.
<URL:
http://groups.google.com/groups?selm=BlmZ7.55691%244x4.7344316%40news2-win.server.ntlworld.com>
The complete comp.lang.javascript FAQ is at
http://jibbering.com/faq/
--
The sendings of these daily posts are proficiently hosted
by
http://www.pair.com.