Community Documentation

Switch by hostname switch and login for all languages

Last updated May 8, 2010. Created by Roberto Gerola on January 22, 2007.
Edited by bertboerland, bekasu. Log in to edit this page.

Add this line in all your settings.php files :

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

Note

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

But this works instead:

$cookie_domain = 'example.com';

nobody click here