Databased driven asp counter with initial value setting

Discussion in 'ASP General' started by pcchong, Dec 15, 2003.

  1. pcchong

    pcchong Guest

    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
    pcchong, Dec 15, 2003
    #1
    1. Advertising

  2. pcchong

    Ray at Guest

    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" <> wrote in message
    news:...
    > 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
    >
    >
    Ray at, Dec 15, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. The Eeediot
    Replies:
    3
    Views:
    2,225
    =?Utf-8?B?UnVsaW4gSG9uZw==?=
    Dec 22, 2004
  2. catweezle2010

    databased filled dropdown slow or crash

    catweezle2010, Oct 24, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    419
    Mr Newbie
    Oct 24, 2005
  3. Nav
    Replies:
    1
    Views:
    2,772
    David Dorward
    Feb 13, 2006
  4. George2
    Replies:
    1
    Views:
    791
    Alf P. Steinbach
    Jan 31, 2008
  5. Obtice

    Counter with initial value

    Obtice, Nov 21, 2011, in forum: VHDL
    Replies:
    3
    Views:
    1,036
    joris
    Nov 24, 2011
Loading...

Share This Page