October 22, 2003

Page hit counters made simple

It never ceases to amaze me how many little "easter eggs" there are hidden in Internet Information Server. For example, I was reading up on how to implement a hit counter in ASP. There are lots of ways involving writing to a text file or a database. Who would have guessed that IIS 5 has a Page Counter Object? Apparently there's little documentation on it, but it is found in the IIS Resource Kit.

To read more, check out this article by 4guysfromrolla.com: Recording Page Hits with Microsoft's Page Counter Object