LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-18-2013, 01:24 AM   #1
jeffmonte
LQ Newbie
 
Registered: Jul 2010
Posts: 29

Rep: Reputation: 1
difference between mod_user_track and mod_session


Hi all,

Just wondering whats the difference between SessionCookieName (mod_session) and CookieName (mod_user_track) directives. Can someone help me understand the difference between these two?

I know each of these have different purposes, but what is preferred? What if both of them are being used?

The problem is, I enabled both of them in my testing apache webserver (CentOS 6.4, Apache-2.4.4). The mod_user_track is allowing the cookies to be stored in the web browser, but not the mod_session.

Live headers show the following;

============================
Set-Cookie: saturncookie=99216130.4e6a27668eb98; path=/; expires=Sat, 05-Oct-13 06:22:32 GMT; domain=.domain.com
Set-Cookie: saturn=;Max-Age=0;path=/
Set-Cookie: saturn=;Max-Age=0;path=/
============================

Here is my setup;

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

mod_user_track.conf:
============================
CookieDomain .domain.com
CookieExpires "17 days"
CookieName saturncookie
CookieTracking On
 
Old 09-18-2013, 01:37 AM   #2
jeffmonte
LQ Newbie
 
Registered: Jul 2010
Posts: 29

Original Poster
Rep: Reputation: 1
Set-Cookie appears twice

Please also notice that the Set-Cookie header appears to be happening twice, with a single SessionCookieName directive.

Not sure what is causing that to happen by the way.
 
Old 09-23-2013, 01:19 AM   #3
jeffmonte
LQ Newbie
 
Registered: Jul 2010
Posts: 29

Original Poster
Rep: Reputation: 1
Bump can any apache administrator help me understand the difference between these two?
 
Old 10-02-2013, 12:15 PM   #4
jeffmonte
LQ Newbie
 
Registered: Jul 2010
Posts: 29

Original Poster
Rep: Reputation: 1
Did I raise this request in a wrong forum? Should this be moved into some other forums?

Please help me out.

Thanks.
 
Old 10-20-2013, 12:34 PM   #5
jeffmonte
LQ Newbie
 
Registered: Jul 2010
Posts: 29

Original Poster
Rep: Reputation: 1
Can someone please suggest if this is the right forum I've put my question in?

Do I need to raise it on some other forum area? Please help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between .a and .o grob115 Programming 4 11-07-2011 12:10 PM
Apache 2.2.3 Session tracking with mod_session produces load error on module load programlight Linux - Server 1 10-24-2011 04:48 PM
LXer: Making a Difference; Selling a Difference LXer Syndicated Linux News 0 09-23-2010 05:00 AM
shell script to find the difference betwwn two file and place the difference to other kittunot4u Linux - General 3 07-19-2010 04:26 AM
difference between 9.1 and 9.2 lellyville SUSE / openSUSE 2 02-28-2005 11:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration