The yii primary domain name is connected to the second-level domain name through a. the second-level domain name is used to log on to a website that fails to be created by yii and connects to the second-level domain name page through a. the second-level domain name cannot log on () -& gt; user-& gt; isGuest & nbsp; this method verifies that the primary yii domain name is not successfully logged on to the second-level domain name through a, and the second-level domain name fails to log on.
A website created by yii connects to the second-level domain name page through a, and cannot log on to Yii: app ()-> user-> isGuest. this method verifies that the unlogged yii domain name is shared: user-> isGuest? This method verifies that the logon is not successful. 'data-pics = ''>
------ Solution --------------------
It is likely that the cookie scope issues. Modify the cookie. domain in the php. ini configuration file. for example, your domain name is hello.com. Then locate this item and modify it
Session. cookie_domain = .hello.com