Share a problem of not being able to get cookies under the ci framework_PHP tutorial

WBOY
Release: 2016-07-13 17:17:11
Original
905 people have browsed it

Since online banking payment is used in the project, in 360 Speed ​​Browser and other dual-core browsers, when jumping to payment, they will force the browser mode to be changed to compatibility mode, so that in Cookies in speed mode cannot be retrieved in compatibility mode because the user_agent changes when the browser switches modes. I have tried forcing it to use a certain mode in 360 Browser, but it behaves differently in different versions and cannot be solved perfectly. Problem, I finally found that the session in ci made a judgment about this option. The 192th line in the session class. The final solution is to modify $config['sess_match_useragent']= FALSE in config.php; changing it to false can solve this problem. !

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/626635.htmlTechArticleSince online banking payment is used in the project, in 360 Speed ​​Browser and other dual-core browsers, when jumping to When paying, they will force the browser to change the mode to compatibility mode, so...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template