If you're writing your own PerlLogHandler, get the cookie from the request
object, $r->header_in('Cookie')
-Ian
Today, Jim Sproull <[EMAIL PROTECTED]> frothed and gesticulated about...:
> I'm looking to using mod_usertrack to log requests based on cookies (which
> it's good at, of course). I have this all in and working fine. However,
> I'm using my own PerlLogHandler to handle all the logging. mod_usertrack
> allows a CustomLog variable called %{cookie}n which contains the current
> session id, called like:
>
> CustomLog logs/clickstream "%{cookie}n %r %t"
>
> (from http://www.apache.org/docs/mod/mod_usertrack.html)
>
> But, since I'm using my own LogHandler, I need to somehow get access to
> this variable directly. Has anyone used these two together before, or can
> point me in the right direction? Or do I have to do some source hacking?
> Thanks!
--
Salon Internet http://www.salon.com/
Manager, Software and Systems "Livin' La Vida Unix!"
Ian Kallen <[EMAIL PROTECTED]> / AIM: iankallen / Fax: (415) 354-3326