Revision #6 has been created by ianaré on Feb 2, 2011, 11:18:23 AM with the memo:
update user class info
« previous (#5)
Single sign on across multiple subdomains
subdomain, domain, cookie, session
* The Yii application ID is used to generate a unique signed key, used as a prefix to access user state information. The ID should be set manually so that it is identical for each Yii application that needs to share cookies and sessions.
Finally, the user cookie parameters must also be set to be identical as in the configuration file :
public $identityCookie = array(
'path' => '/',
'domain' => '.yourdomain.com',
'httpOnly' => true
**That's it !!!** This setup has been tested pretty thouroughly, but please provide comments/suggestions below on improving this article.