COOKIE domain issues in PHP_PHP tutorial

WBOY
Release: 2016-07-13 17:52:04
Original
831 people have browsed it


If your website visits Lu Jin is like this: www.2cto.com
If you set set_cookie('a', 'a') like this, you will encounter a hidden BUG in Google Chrome, a domain problem
Solution:
[php]
setcookie("name", 'value', NULL, '/')
Author: initphp

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/478149.htmlTechArticleIf your website access road is like this: www.2cto.com If you set set_cookie(a, a), you will encounter a hidden BUG under Google Chrome, the solution to the domain problem...
Related labels:
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