S
shlomi.schwartz
Hi all,
I'm trying to create a server side log, that will show how much time a
user was present on my web page.
I tried using onUnload and onBeforeUnload to do an http call to the
server.
I've noticed that the call pass to the server is not consistent.
Q:Is there a better way of logging the time user spent on my page
before leaving it?
P.S: currently I'm using an Interval call each 5 sec that logs that the
user is still there.
thanks
I'm trying to create a server side log, that will show how much time a
user was present on my web page.
I tried using onUnload and onBeforeUnload to do an http call to the
server.
I've noticed that the call pass to the server is not consistent.
Q:Is there a better way of logging the time user spent on my page
before leaving it?
P.S: currently I'm using an Interval call each 5 sec that logs that the
user is still there.
thanks