TGIFImage Demo CGI Counter

Active Counter Passive Counter Global Counter Invalid referer
Active Passive Global Invalid
An "Active Counter" records each request of it by incrementing the counter value. A "Passive Counter" only displays the current value of the counter, without incrementing it. The "Global Counter" records the sum of all requests on all counters. Every time an individual counter is incremented, the global counter is incremented as well. An "Invalid referer" is a request from a host that have not been allowed to use the CGI counter.
Click the image to see what it looks like...
To avoid the counters being incremented when a client reloads a page, the IP address of clients and the time of their last request is cached by the CGI counter.
By default the CGI counter caches up to 32 clients for a period of 60 seconds.

The CGI application that produced the above counter images was created with the Delphi 3 CGI components and TGIFImage. The full source is included in the TGIFImage kit.

The CGI Counter has been tested with Netscape FastTrack 2.0 on Windows 95 and Microsoft IIS on Windows NT 4.0.


Copyright © 1998 Anders Melander. All rights reserved.