httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Martínez Albiter <dav...@insys-corp.com.mx>
Subject RE: Mod dumpio module
Date Fri, 27 Feb 2009 15:58:35 GMT
Hi Nick,

becouse in the module mod_usertrack use the next line:
apr_table_setn(r->notes, "cookie", cookieval); /* Set the cookie in a note, for logging
*/

then I suppose that is possible to get the value "cookie" into the mod_dumpio using the line:
const char *cookieval = apr_table_get(f->r->notes, "cookie"); 

There are any form to get the the info set by mod_usertrack in mod_dumpio??

Thaks in advance.

-----Original Message-----
From: Nick Kew [mailto:nick@webthing.com] 
Sent: Jueves, 26 de Febrero de 2009 06:38 p.m.
To: dev@httpd.apache.org
Subject: Re: Mod dumpio module

On Thu, 26 Feb 2009 18:30:03 -0600
David Martínez Albiter <davidm@insys-corp.com.mx> wrote:

> request_rec *r = f->r;

Dumpio is a connection-level filter.  There is no request.
(and why do you suppose there'd be a cookie in r->notes?)

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/
Mime
View raw message