well...
variables set by the notes and subprocess_env methods should be available
for the entire length of the request, no matter what phase they are set.
I just set up a test handler that used both notes and subprocess_env to set
up variables in a PerlInitHandler and was able to capture them by adding
them to the LogFormat directive. Make sure the directive quotes the quotes
(that is, \"{NOTES_VAR}n\" for example). That you are using
PerlAuthenHandler should not make a difference.
I'm not sure if mod_perl implements a way to get pnotes stuff into your
logs, which is a pretty cool function. Anyone?
hope this helps - if not, try posting the relevant bits...
--Geoff
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, October 11, 1999 10:34 AM
> To: [EMAIL PROTECTED]
> Subject: Logging Session IDs from environment variables
>
> Hi all
>
> I have asked this before, but I still haven't managed to shed any light on
> it, so I was hoping that somebody might be able to shed some more light.
>
> (While you're about it, have a look at the site we have just launched :
> http://www.orgasmicwines.com - mod_perl & mysql based site.)
>
> If I store my sessionID in an environment variable (or in $r->notes), I
> can
> see it in other Apache:: modules, but when I try to log it using the the
> CustomLog directive in httpd.conf, the environment variable (or $r->notes)
> is blank.
>
> Does this have anything to do with the fact that I'm setting the ENV
> variable in a PerlAuthenHandler, before %ENV is set up? And that
> shouldn't
> affect $r->notes, should it?
>
> Any help greatly appreciated
>
> Many thanks
>
> Clint