First of all, I have used ALL of the suggested methods in this SO article: http://stackoverflow.com/questions/644920/allow-php-sessions-to-carry-over-to-subdomains
For your convenience, here are the tips I already followed:
Here are 3 options.
Place this in your php.ini:
session.cookie_domain = ".example.com"In your .htaccess:
php_value session.cookie_domain .example.comAs the first thing in your script:
ini_set('session.cookie_domain','.example.com' );
I have 9 subdomains (losangeles.mysite.com, sandiego.mysite.com, etc), and I would like users to be able to stay signed in between them. As of now, however, the server is treating each subdomain as a fully contained site with separate sessions.
Is there anything else I can do? Or how can I troubleshoot this?