setting $cookie_domain is causing problems on multisites with SSO (Single Sign On) - the client site (in subdomain) only displays the master site if $cookie_domain is set

tried
$cookie_domain = $_SERVER['HTTP_HOST'];
$cookie_domain = '.masterdomain.com';
$cookie_domain = 'subdomain.masterdomain.com';
$cookie_domain = '.subdomain.masterdomain.com';

using D6.17, requiring "." before cookie domain without "www" http://drupal.org/node/816998#comment-3051528

the client site will only function properly with # $cookie_domain commented out -

but then of course there is the CK error without setting $cookie_domain
eg: #719238: $cookie_domain not defaulted properly on CKFinder boostrap

Comments

decibel.places’s picture

well, it works a bit better with

$base_url = 'subdomain.masterdomain.com';

and

$cookie_domain = $_SERVER['HTTP_HOST'];

however on login and logout on client site it redirects to master site - checked Login Destination, Login Toboggan etc.

ccardea’s picture

Thank you for the link to the other thread, which solved my problem.