Re: Request UNIQUE_ID

[prev] [thread] [next] [Date index for 2005/02/16]

From: Stas Bekman
Subject: Re: Request UNIQUE_ID
Date: 13:21 on 16 Feb 2005
Geoffrey Young wrote:
> 
> Thomas Lochmatter wrote:
> 
>>In the apache1/mod_perl1 environment, there was an
>>environment variable
>>    UNIQUE_ID
>>available. This ID was unique for each request.
>>
>>In the apache2/modperl2 environment, this variable has
>>disappeared. I have not found any method in the mod_perl2
>>API. What's the "official" way to get/create such an ID?
> 
> 
> you must have had mod_unique_id compiled in before:
> 
>   http://httpd.apache.org/docs-2.0/mod/mod_unique_id.html

Or you can use APR::UUID:
http://perl.apache.org/docs/2.0/api/APR/UUID.html
w/o needing mod_unique_id

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Request UNIQUE_ID
Thomas Lochmatter 09:38 on 16 Feb 2005

Re: Request UNIQUE_ID
Torsten Foertsch 11:47 on 16 Feb 2005

Re: Request UNIQUE_ID
Geoffrey Young 12:41 on 16 Feb 2005

Re: Request UNIQUE_ID
Stas Bekman 13:21 on 16 Feb 2005

Generated at 11:21 on 20 Feb 2005 by mariachi v0.52