Posts

Showing posts from September, 2006

Page Counter in ASP 3.0

Lots of guys had done programming for page counter for a site.

I found a interesting example on IIS 5.1 documentation. It is

very easy and very cool. You can developer your page counter

with 2 or 3 line of code in asp 3.0.
Following are the code:


<%

Set MyPageCounter = Server.CreateObject("MSWC.PageCounter")

HitMe = MyPageCounter.Hits

Response.Write("Total Count:" & HitMe)

%>


Thats it your counter is ready.
Happy Programming...