Switch by hostname switch and login for all languages

Last modified: September 4, 2009 - 23:16

Add this line in all your settings.php files :

ini_set('session.cookie_domain', '.domain.com');

Note

This causes an infinite redirect loop in drupal 5.3 for me.

But this works instead:

$cookie_domain = 'domain.com';

 
 

Drupal is a registered trademark of Dries Buytaert.