JAVASCRIPT CODE FOR CALCULATING TIME FROM - USER LOGS INTO THE WEBSITE TILL HE LOGS OUT
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   prak_prak
Posted On:   Monday, November 17, 2003 05:13 AM


How to calculate the time from the time the user

open a particular website and goes out of the

website using javascript

Re: JAVASCRIPT CODE FOR CALCULATING TIME FROM - USER LOGS INTO THE WEBSITE TILL HE LOGS OUT

Posted By:   Christopher_Koenigsberg  
Posted On:   Monday, November 17, 2003 02:07 PM

Maybe initialize a var with the current timestamp in the body onLoad, and then compare with it, in the onBeforeUnload? of course all you are doing here is measuring the time spent with a particular page in the browser.

About | Sitemap | Contact