By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,077 Members | 1,175 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,077 IT Pros & Developers. It's quick & easy.

Databased driven asp counter with initial value setting

P: n/a
I have 3 websites and make use of free counters provided by other web
hosting companies to count the no of hits. Now I want to install a
multiple-user databased driven asp counter (with initial value setting) in
one of my sites to provide the statistics. I try to use the google search to
look for a free script but to no avail. Anyone know of a free asp script
that I could use for this purpose? Thanks.
pcchong
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Poor man's counter:

add hit:
<% Server.CreateObject("WScript.Shell").Run "cmd.exe /c
echo.>>C:\counter.txt" %>

get hit count:
<% Response.Write
Server.CreateObject("Scripting.FileSystemObject"). GetFile("C:\counter.txt").
Size /2 %>

Ray at work

"pcchong" <pc*****@singnet.com.sg> wrote in message
news:uc**************@TK2MSFTNGP11.phx.gbl...
I have 3 websites and make use of free counters provided by other web
hosting companies to count the no of hits. Now I want to install a
multiple-user databased driven asp counter (with initial value setting) in
one of my sites to provide the statistics. I try to use the google search to look for a free script but to no avail. Anyone know of a free asp script
that I could use for this purpose? Thanks.
pcchong

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.