Re: [PHP] page duration tracking

2005-12-01 Thread Gustavo Narea
Hello. Jesús Fernández wrote: I think you could use cookies for this. When the user loads the page you can write a cookie with the timestamp and the page loaded writen on it. Then when the user request another page, load if the cookie exists and then you can calculate the time spent on a

Re: [PHP] page duration tracking

2005-11-30 Thread Michael Crute
On 11/30/05, MikeL [EMAIL PROTECTED] wrote: Is there a way to incorporate some type of time in a page to track the duration of time each individual visitor spent on a specific page with ..PHP? I know I can keep a counter with JavaScript, but I would like it to keep track in my stats file. I

Re: [PHP] page duration tracking

2005-11-30 Thread Jesús Fernández
I think you could use cookies for this. When the user loads the page you can write a cookie with the timestamp and the page loaded writen on it. Then when the user request another page, load if the cookie exists and then you can calculate the time spent on a certain page... --