PDA

View Full Version : How to log exit from a page?


bostjank
01-11-2003, 05:00 PM
Hi!

Is there any way I can get the information about the date, time,... when a visitor exits certain page?

Bostjan

codefox
01-12-2003, 05:45 AM
If you are talking about exiting an ASP page, you can use Date() and Time() to get the date and time. If you you want the date and time when the user exits the page shown in the browser, you can trap the JavaScript onUnload event to get the details using getDate() and getTime().

whammy
01-14-2003, 01:04 AM
And good luck - this is one of the things about ASP that is unreliable. :(

They have improved this in .NET from what I understand, but I haven't gotten to that stage yet!