in reply to Random Text: There's got to be an easier way

$ENV{UNIQUE_ID} is usually available if you're on apache. It looks something like 'OxpuVdRDyd0AABcZKVw', so it isn't all that readable, but it's certainly an easier way.

(nb this is no use at all if you need to create more than one id per script invocation)

see the apache docs for more.

Replies are listed 'Best First'.
Re: Re: Random Text: There's got to be an easier way
by Beatnik (Parson) on Jun 03, 2001 at 21:16 UTC
    $ENV{UNIQUE_ID} depends on the presence of mod_unique_id. I know I always include it in the build, but does everyone? :)

    Also note that Perl isn't always used as CGI. mod_unique_id is an Apache thing :)

    Greetz
    Beatnik
    ... Quidquid perl dictum sit, altum viditur.