[mod_python] UNIQUE_ID from mod_python...

Gregory Trubetskoy grisha at modpython.org
Tue Nov 21 16:48:31 EST 2000


If you're writing native mod_python handlers, then that id should be in
req.subprocess_env. If you're using cgihandler, you have no access to it,
since the CGI that the cgihandler emulates is 'fake', there is no forking
going on.

--
  Gregory (Grisha) Trubetskoy
       grisha at modpython.org

On Tue, 21 Nov 2000, Miguel Marques wrote:

> Greetings...
> 
> I need to access the unique id produced by mod_unique_id.  It gets set
> as an environment variable for CGI scripts but not by the looks of it
> for python scripts (I don't see it in os.environ).  I'm not all that
> familiar with Apache internals so maybe there's something I'm missing.
> If anyone has any idea on whether or not I can get the unique_id variable
> please let me know.
> Thanks for any input.
> 
> 						Miguel
> 
> C. Miguel Marques, York University, Computing & Network Services
> e-mail: miguel at yorku.ca, voice: (416)736-2100x22684, fax: (416)736-5830
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
> 




More information about the Mod_python mailing list