02
Nov
Learn how to allow php sessions to carry over to subdomains
If you want to allow sessions on all the subdomains then here are 3 options. Place this in your php.ini: session.cookie_domain = “.example.com” In your .htaccess: php_value session.cookie_domain .example.com As the first thing in your script: ini_set(‘session.cookie_domain’, ‘.example.com’ );
Continue Reading →