httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jeffmonte101 ." <jeffmonte...@gmail.com>
Subject [users@httpd] Fwd: Difference between cookies that are enabled with mod_session and mod_user_track?
Date Fri, 20 Sep 2013 05:49:26 GMT
---------- Forwarded message ----------
From: jeffmonte101 . <jeffmonte101@gmail.com>
Date: Fri, Sep 20, 2013 at 11:13 AM
Subject: Difference between cookies that are enabled with mod_session and
mod_user_track?
To: users@httpd.apache.org


Hi all,

I am trying to learn the cookie enabling and session/user tracking, which
left me with this problem.

I am using apache 2.4.4 on CentOS-6.4, with the following modules and
directives enabled.

mod_session.conf
====================
Session On
SessionCookieName saturn path=/private

mod_user_track.conf
====================
CookieDomain .domain.com
CookieExpires "17 days"
CookieName saturncookie
CookieTracking On

HTTP headers look like;
====================
 Request Cookies
  35
  saturncookie
9777261a.4e6789a3b2dee
N/A
N/A
N/A
35
  Response Cookies
  63
  saturn
 /private
0
32
  saturn
 /private
0
31


Live header shows:
=================
Set-Cookie: saturncookie=1d6b21f6.4e6ca1c6aa2a7; path=/; expires=Mon,
07-Oct-13 05:40:41 GMT; domain=.domain.com
Set-Cookie: saturn=;Max-Age=0;path=/private
Set-Cookie: saturn=;Max-Age=0;path=/private

Please help me understand why Set-Cookie is enabled twice while I use
cookie directives with mod_session.

What is the use of these two types of cookies? Thank you.

Mime
View raw message