ASP/.NET Web Hosting
* 3 Months FREE *
CLICK HERE!
 CoverYourASP --> Storing statistics

Free membership

Join in the fun! Sign in
Member Services

Site navigation
Download the entire site!
Search my articles
Free Magazines
Browse the directory

Send me feedback
Buy my boxer shorts

Recommend this page
Printer-friendly page

Resources I recommend
Link to my site
Advertising slashed!
About your privacy
Legal stuff
Site statistics
91 active users
375 visitors today
303 pages today
how is this done?
ASP.NET Showcase
ASP.NET Graph and Chart Component with FREE developer version

ASP.NET Shopping Cart and E-commerce Control with FREE trial download

ASP.NET Web Hosting with free month and setup

$15 Domain Name Registration from .DNR.
As seen on these sites
Special thanks go to the sites that support me by publishing my articles.
See more

CoverYourASP
Copyright © 1999-2008 James Shaw.
All rights reserved.

ASP.NET Blog
ASPRSS
ShawThing

Now open source with SourceForge!

The story so far...

I've always used SiteMeter to store statistics about you, my readers. It was very simple to implement, but recently too many people have been commenting how "unprofessional" it looks to have a hit counter.

Now, although I don't agree it's unprofessional, I did think it would be fun to write my own version.

The simple specifications were:

  • To be accessed through an <img> tag
  • To store the page being viewed, the referring page, the readers IP address, browser and screen width.
  • To cope as well as possible with client-side script disabled

As it turned out, this was quite easy. I'm storing the information in my handy Access database, so you can view the raw data or see sample reports.

To be honest, with this latest addition I'm now worried about how Access will cope with the strain. This table will get very large, very quickly. Time to break open that fresh SQL Server 2000 DVD...

Part 2: The Footer script...

Featured sponsor
My favorite resources

Selling products online - read how James does it now


CoverYourASP Mugs, T-shirts, caps - even Boxer shorts...
I don't make a penny from these, but they're a lot of fun! Don't you need a new mouse mat?


New Proposal Kit Professional 5.1
Brand yourself as a top professional: create quotes and amazing proposals and get many legal documents free!

The latter saved me 3 times the purchase price on the first day I owned it!