Welcome Guest, Not a member yet? Register   Sign In
Same cookie name, different domain
#1

(This post was last modified: 02-21-2017, 01:38 PM by bjacobs.)

I have:
Code:
$config['cookie_domain'] = '.' . $_SERVER['SERVER_NAME'];

So why do I have one cookie named ci_session with the domain:
Code:
.mysite.com

And another cookie named ci_session with the domain:
Code:
.www.mysite.com

And also, is this a problem. If not, I don't care why it's doing it! Ha!

This is version 2.0.2 btw
Reply
#2

(This post was last modified: 02-21-2017, 02:14 PM by Narf.)

Same question, different site

Is this a problem? You obviously don't care. Smile
Reply
#3

(02-21-2017, 02:14 PM)Narf Wrote: Same question, different site

Is this a problem? You obviously don't care. Smile

What?
Reply
#4

(02-21-2017, 02:14 PM)Narf Wrote: Same question, different site

Is this a problem? You obviously don't care. Smile

Is this you? https://github.com/bcit-ci/CodeIgniter/issues/744. If so, might I need to upgrade from 2.0.2 in order to fix my problem of multiple sessions being created and old ones not updating properly.
Reply
#5

Is there a reason not to upgrade?
Reply
#6

(02-24-2017, 02:43 PM)Diederik Wrote: Is there a reason not to upgrade?

Well if it won't fix the problem, then I'm just taking a lot of time to do that. I will eventually, but need to solve this first.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB