in reply to Counting click-throughs

I was thinking of doing something similar to this.

There is a more generic way, I think.

Using the Redirect function of modperl. It is said that modperl works quicker that a normal script. So, I think that in your script you might have more time to check that the address of the redirect was one that you where wanting to count. Those interesting addresses might be in a DB and if they are not there, then you don't need to count those redirections...

Replies are listed 'Best First'.
(z) Re^2: Counting click-throughs
by zigdon (Deacon) on Nov 13, 2003 at 16:12 UTC
    Time doesn't have to be an issue - when I write something like this, the script that is called to count does the redirect as the first thing, then closes STDOUT. At that point, the user is already redirected, and your script can take all the time it needs to analyse and record the click.

    -- zigdon