467,858 Members | 1,629 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,858 developers. It's quick & easy.

Databased driven asp counter with initial value setting

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
  • viewed: 1520
Share:
1 Reply
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.

Similar topics

1 post views Thread by Marc | last post: by
6 posts views Thread by Ben | last post: by
reply views Thread by Tim Haughton | last post: by
6 posts views Thread by Who.Really.Really.Cares | last post: by
reply views Thread by Earl Anderson | last post: by
3 posts views Thread by catweezle2010 | last post: by
7 posts views Thread by mistral | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.