httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] can Apache read a user cookie and write value to access_log?
Date Thu, 02 Nov 2006 14:53:31 GMT
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


Mime
View raw message