Results 1 to 2 of 2

Thread: timer

  1. #1
    Join Date
    Dec 1969

    Default timer

    Is there a timer in asp that tells how long an individual is at a site.

  2. #2
    Join Date
    Dec 1969

    Default RE: timer

    This is a somewhat tricky problem because it&#039s often difficult to tell exactly when a user "leaves" your site. The best solution I can think of would be to add a snippet of code to your Session_OnStart event that adds a session variable with a current time stamp. You could then add a code to the Session_OnEnd event that calculates the time they spent at your site based on the existing session variable, then insert that into a database or something. But, again, how do you know exactly when the user "leaves" your site?<BR><BR>Todd<BR>todd@e-kiwi.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts