CodeIgniter Forums

Full Version: Same cookie name, different domain
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Same question, different site

Is this a problem? You obviously don't care. Smile
(02-21-2017, 02:14 PM)Narf Wrote: [ -> ]Same question, different site

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

What?
(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.
Is there a reason not to upgrade?
(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.