Last updated November 6, 2012. Created by Roberto Gerola on January 22, 2007.
Edited by frederickjh, bertboerland, bekasu. Log in to edit this page.
Note that the following is INSECURE CODE!
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';