How to set cookie for multiple domain

In oxid we can set domain in config file like :

The domain that the cookie is available: array( SHOP_ID => DOMAIN );

My question is : can we add multiple domain for same shop id? like

$this->aCookieDomains = array(‘oxbaseshop’ => ‘a.xx.com’,‘oxbaseshop’ => ‘b.xx.com’,‘oxbaseshop’ => ‘c.xx.com’); Or what is the way to do it so that if you log in a.xx.com then also login in b.xx.com?

Note: a.xx.com has ssl but b.xx.com and c.xx.com dont have.

Any help is appreciated.

Hi,

depends on what you want to do. Actually, you can set the SSL path in config.inc.php. Also, it is possible to set different domains for different languages. Maybe that helps.

Regards

No my problem is if I login into a.xx.com and then visit b.xx.com then user is logged out. User should be logged in evenif he visits a non ssl site from a ssl site. Any tutorial or help material is there?