The counter
In dbServ you find a simple counter. To use it you have to design a database named 'count' before (see description in the directory db). To get an entry in this table you have two ways:
a call via an image:
<IMG SRC="http://localhost:4444/count?index" WIDTH="1" HEIGHT="1">
Behind 'count?' you may define every text you want to write into the table. You get back a transparent image.
a call via a link:
<A HREF="http://localhost:4444/count?target=http://newhost/index.html"
target="_new">new Location</A>
Here you have to define a target for the redirection. The link is stored to the database.
To use the counter you have some parameters in dbServ.ini.
The cache
To get the best performance you can use the cache mechanism. It only works with the 'OUT' method. After the first call a page is in the cache memory. Please set the life time for the cache in the ini file. If you don't want it for special pages you have to define the 'nocache' tag in the document header.