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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to