Jump to content

can Apache read a user cookie and write the value to the access_log?


tsarvak

Recommended Posts

Hi everyone -

I don't know a lot about Apache, 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.

Help of any kind would be appreciated!
Thanks.
Link to comment
Share on other sites

I know nothing about apache! im just on to check for a reply in my post as i just installed 2.2.3!

I dont know if apache can do this, but PHP Can do this easy two its own log file, and then even easier display them to a page for admin viewing withing having to read through hundreds of lines of Text files!

Abydos
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.