![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: A Server call using onUnload
From: Jasen Betts <jasen@free.net.nospam.nz>
Date: Fri Dec 23 2005 - 06:42:38 CET
On 2005-12-22, shlomi.schwartz@gmail.com <shlomi.schwartz@gmail.com> wrote:
> I'm trying to create a server side log, that will show how much time a
If they save their page to their hard disk does that count as infinite time?
ISTM you are trying to measure the unmeasurable.
> I tried using onUnload and onBeforeUnload to do an http call to the
if they close the tab or turn off their modem there is no unload.
if they minimise the window, switch to another tab, or leave the room
> Q:Is there a better way of logging the time user spent on my page
convince them to install your logging software on their PC :)
> P.S: currently I'm using an Interval call each 5 sec that logs that the
it'll tell you the page is still open, nothing more.
Bye.
|