Re: Usefulness of $r->notes and $r->pnotes (or $c)

Michael Ludwig <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Am 24.03.2010 um 15:20 schrieb Douglas Sims:

> We use the notes table to put a reference to the session (and thus the user) in the access log.
> 
> $request->notes->set('session' => $session->{SESSION});
> 
> This is in apache2.conf:
> 
>   LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %{session}n" combined_with_session
> 
> This makes it possible to differentiate log entries by user, whether multiple users have the same ip address or if a user's address changes.

That's a useful one!

I used the notes table for interop with mod_php5. Does anyone use the notes table for interop with some Ruby or Python extension for Apache? I'd be particularly interested in Perl/Ruby interop within Apache.
-- 
Michael.Ludwig (#) XING.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.