David Jacobs wrote:
>
> >
> >I'm just curious - what's wrong with the function you're already using?
> >
> >Steve
> >
>
> Mod_Perl hangs on to it's PID, so it's no longer unique. (I _believe_)
But the timestamp will make it unique - as long as you're not serving
several requests per second.
If you are, you could use a counter as well as, or in place of, the
timestamp.
All I'm saying is that CGI by itself doesn't guarantee a unique PID -
your CGI's original author probably knew that, and incorporated the
timestamp to guarantee uniqueness.
> mod_unique_id looks like a good solution, pending performance.
Yeah, agreed.
> Thanks for your help so far, everyone!
>
> David
--
Steve Piner
Web Applications Developer
Marketview Limited
http://www.marketview.co.nz