Forum Moderators: coopster
I would like to dispay the duration of a visitor viewing a web page. I know the start time of hitting a page, which is:
start = time();
In order to calculate the duration the visitor has spent on a page, i need to know the time (timestamp) when a visitor leaves a page, or move on to another page?
I would appreciate advice from all experienced developers.
Thanks