perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <michael.lud...@xing.com>
Subject Re: Usefulness of $r->notes and $r->pnotes (or $c)
Date Wed, 24 Mar 2010 14:46:37 GMT
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


Mime
View raw message