Thursday, March 1, 2007

Starting PageCounter to Specific Value in ASP

Here is a code that start value to a specific value.
In the code i have started its value from 10000

Dim objPageCount
Set objPageCount = Server.CreateObject("MSWC.PageCounter")

dim hit
hit=objPageCount.Hits()+ 10000
Response.Write "Site Visitors: " & hit & ""

Happy Programming


Post a Comment

Your feedback is very important to me. Please provide your feedback via putting comments.

Search This Blog
About Me
My Photo

Full Stack Developer,Blogger,Microsoft Mvp, Mentor, Life long learner, 12+ Years of Experience for JavaScript, web and Microsoft technologies. ASP.NET MVC,Web Forms,C#,AngularJs,Golang
Mvp profile
Subscribe to my blog

Enter your email address:

Follow us on facebook
Blog Archive
Total Pageviews