Hi,

I have a site that is built with Domain Access module, and I have multiple languages enabled. I turned on the $cookie_domain in my settings.php to allow users to be logged in throughout all my subdomains.

The erroneous behavior happens when:
I'm on sub1.domain.com, I chose Spanish language; Locale cookie should set a cookie for sub1.domain.com to be Spanish language. I then switch to sub2.domain.com, Locale cookie does not respect $cookie_domain in settings.php and thus assumes it's a new domain with a new cookie.

The correct behavior should set the cookies depending on $cookie_domain in settings.php.

Comments

mohammed j. razem’s picture

And here's the patch.

mohammed j. razem’s picture

Status: Active » Needs review
jelle_s’s picture

This should be fixed in the latest dev version (download from git or wait at least 12 hours to download it from drupal.org). Can you confirm?

jelle_s’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.