Menu
Hi all,
I want to collate more complex stats on the pages in my site that a user visits.
I want to know what page the user visits, and how long they spend there.
I can already record the page, and the time that page was called. I’m having difficulty with recording the time they leave.
Is there a function that can detect a page closing and if so, how do I keep the server side script “alive” until that page closes?
Note that I’m also considering the alternative approach, which is to send data from the client side using the onClose event in Javascript, but that would not be as efficient.
CTB