Reply to Re: [PHP] page duration tracking

Your name:

Reply:


Posted by Gustavo Narea on 10/01/35 11:33

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 certain page...

If I click two links within 1 second from the home page, the result
won't be what you were expecting, unless you also take into account the
HTTP-REFERER, but... Is It a worthwhile task to be storing both
timestamp and HTTP-REFERER for each loaded web page? I don't think so.

So, If I must track the duration of time each individual visitor spent
on a specific web page, I'd use the javascript method that Mike mentioned.

Cheers.

--
Gustavo Narea.
PHP Documentation - Spanish Translation Team.
Valencia, Venezuela.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация