Share a question about cookie retrieval in the ci framework _ PHP Tutorial

Source: Internet
Author: User
Share the issue that the cookie cannot be obtained in a ci framework. Because online banking payment is used in the project, in the 360 speedy browser and other dual-core browsers, when they jump to the payment, they will force the browser mode to be compatible, in this way, because online banking payment is used in the project, in the 360 speed browser and other dual-core browsers, when the jump to the payment, they will force the browser mode to be compatible, in this way, the cookie in the fast mode cannot be obtained in the compatible mode, because the user_agent has changed during the browser switching mode, and tried to force the cookie to use a certain mode in the 360 browser, however, in different versions, the problem cannot be solved perfectly. In the end, the session in the ci is found to judge the option by 192 rows in the session class. The final solution is to modify the config. in php, $ config ['sess _ match_useragent '] = FALSE; change to false to solve this problem!

...

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.