Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    May 2004
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How do I record total hits each day at a certain time automatically

    I'm looking for info on how to do this.

    I have a site and I want to track the hits each day at say 12:00 without using any 3rd party trending software. Essentially I want to record the hits and either generate an email with the value, or store it in a database.

    How do I create a script with ASP that will initiate at a certain server time each day? Is it even possible?

    Thanks!

  • #2
    New Coder
    Join Date
    Aug 2005
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello,

    store your IIS-Logfile in a database.

    Then perform this query to show your daily visitors:

    select count(*), left(visitdate,10) from f_history group by left(visitdate,10)

    cheers


  •  

    Posting Permissions

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