Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Time how long a visitor remains on a specific page in asp


Message #1 by "Scott Dempsey" <scottd@c...> on Tue, 14 May 2002 01:22:00 -0700
This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C1FAE5.BFB46550
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Everyone -
 
This might be kind of fun. How would you time how long a visitor remains
at a specific page in your website, and store the data in a aSession
variable. In other words - the page loads - the timer starts - client
reviews data (la-la-la) - then the client moves on to another page or
closes the page - the page unloads - timer stops and data is stored in a
Session variable.
 
How would you do it?
 
Thanks.
 
 - Scott



Message #2 by "Bharat Saboo" <bharatsaboo@h...> on Wed, 15 May 2002 21:31:51 +0530
This is a multi-part message in MIME format.

------=_NextPart_000_006D_01C1FC57.ED0274C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

use the onLoad() and onUnload()

Regards,

Bharat Saboo
----- Original Message -----
From: Scott Dempsey
To: ASP Web HowTo
Sent: Tuesday, May 14, 2002 1:52 PM
Subject: [asp_web_howto] Time how long a visitor remains on a specific 
page in asp


Hi Everyone -



This might be kind of fun. How would you time how long a visitor remains 
at a specific page in your website, and store the data in a aSession 
variable. In other words - the page loads - the timer starts - client 
reviews data (la-la-la) - then the client moves on to another page or 
closes the page - the page unloads - timer stops and data is stored in a 
Session variable.



How would you do it?



Thanks.



 - Scott

--- Improve your web design skills with these new books from Glasshaus. 
Usable Web Menus 
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e r-20 Constructing Accessible Web Sites 
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e r-20 Practical JavaScript for the Usable Web 
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e r-20 ---

Message #3 by Jack_Speranza <jsperanza@g...> on Wed, 15 May 2002 16:43:32 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1FC51.2D30D4D0
Content-Type: text/plain;
	charset="iso-8859-1"

Assuming this writer is referring to the DOM body onLoad and onUnload
events, beware that the onUnload event handler in many Netscape browser
versions is flaky, and will not always fire consistenly...
 
 
 -----Original Message-----
From: Bharat Saboo [mailto:bharatsaboo@h...]
Sent: Wednesday, May 15, 2002 12:02 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Time how long a visitor remains on a specific
page in asp


use the onLoad() and onUnload()

Regards,
 
Bharat Saboo
----- Original Message ----- 
From: Scott Dempsey <mailto:scottd@c...>  
To: ASP Web HowTo <mailto:asp_web_howto@p...>  
Sent: Tuesday, May 14, 2002 1:52 PM
Subject: [asp_web_howto] Time how long a visitor remains on a specific page
in asp

Hi Everyone -
 
This might be kind of fun. How would you time how long a visitor remains at
a specific page in your website, and store the data in a aSession variable.
In other words - the page loads - the timer starts - client reviews data
(la-la-la) - then the client moves on to another page or closes the page -
the page unloads - timer stops and data is stored in a Session variable...
 
How would you do it?
 
Thanks.
 
 - Scott
--- Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20 Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20 Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20 --- 
to unsubscribe send a blank email to  --- Improve your web
design skills with these new books from Glasshaus. Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20 Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20 Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20 --- 


  Return to Index