I have a cgi program written in Delphi. It is a basic counter/stats program that when referenced records details in a log file and outputs a 'location:' header to the server pointing to an image.
So far I have been referencing it in an IMG tag, this works well the first time, but the browser caches the image and returns this every time thereafter.
Also, text-only browsers and those whose 'display images' is turned off, it isn't referenced.
How do I get around these problems?
(Would returning an image rather than a reference to an image help? How do I do this? I've heard of a command/tag something like <!--#exec-->, how does this work?)