If the yii primary domain name is connected to the second-level domain name through a, the second-level domain name will not be successfully logged on.

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.