| Daily Hits ASP Script - ASP Web Pro |
|
ASP ScriptsDAILY HITSAnother popular web statistic to track is the number of daily hits your website receives. There are several ways to accomplish this using a global.asa file, text file, or a database. In this example, we are using an include file to record the data in an MS Access database. The first thing you need to do is create a dailyhits.asp page with the code below:
Next, we add our dailyhits.asp include file to every page in our website as seen below: Note: If you are using an HTML Editor like FrontPage or Dreamweaver, you can save time by placing your include file in your shared border or template. Then, your dailyhits.asp file will autmatically be included in every page that uses that shared border or template.
Now, you have a count of how many Daily Hits you are receiving on your website.
|
||||
|
Main Menu Other Resources
Last Updated:
|
||||
|
© 1997-2010 ASP Web Pro, Inc. | Terms of Use
|