Databased driven asp counter with initial value setting

P

pcchong

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
 
R

Ray at

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top