httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tsarvak <tim.sar...@thomson.com>
Subject Re: [users@httpd] can Apache read a user cookie and write value to access_log?
Date Thu, 02 Nov 2006 15:01:02 GMT

I appreciate the fast reply.
Okay, but what kind of code do I use and where would I place it in order to
retrieve a cookie named,
for example, DW_Cookie ?  



Joshua Slive-2 wrote:
> 
> On 11/2/06, tsarvak <tim.sarvak@thomson.com> wrote:
>>
>> Hi everyone -
>>
>> I'm a complete newbie to Apache and web development in general, just
>> started
>> learning about it it this week.
>> Here's my situation:
>> We have Apache 1.3 installed on an AIX server.
>> I want to be able to read a cookie from the user's client PC when they
>> access the website.  This cookie would contain their user Id.  I then
>> want
>> to write the value of this cookie to the standard access_log file.  The
>> purpose of this is to determine which users are accessing our Cognos Web
>> reports and when.
>>
>> I understand that Apache can write its own user tracking cookie via the
>> mod_usertrack, but I need something that specifically allows me to read
>> this
>> custom cookie containing the user's name.
> 
> Adding %{cookie}i to your logformat string should do the trick.
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/can-Apache-read-a-user-cookie-and-write-value-to-access_log--tf2560197.html#a7135186
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message