Intermediate Web Publishing

 

Access Counters (hit counters)

You are visitor number
many

Beware: the Computing Center discourages use of access counters

Standard approach for doing access counters is to add an IMG tag such as:

<IMG ALT="many" 
 SRC="http://darkwing.uoregon.edu/~jqj/cgi-bin/counter.cgi?http://darkwing.uoregon.edu/~jqj/inter-pub/maps/counters.html">

Other (much better) counter services also exist. If you use this one, replace http://darkwing.uoregon.edu/~jqj/inter-pub/maps/counters.html with the URL for your page.

  1. browser loads HTML document
  2. browser requests image for counter
  3. server runs a program to generate the image "on the fly"
  4. counter program increments a file containing the page count, and generates an image containing the value
  5. browser displays the image
 


[next]Next: Notes on Counters