COOKIE有关问题请问

WBOY
Release: 2016-06-13 10:24:09
Original
730 people have browsed it

COOKIE问题请教
请问一下
setcookie(cookie_name,cookie_value);

这样的写法是关闭浏览器后,该cookie值就失效对吧?为何我重新登陆到该页面下,该cookie的值还存在。

哪怕我把该站点的网页全部关闭也是一样。

------解决方案--------------------
php.ini中 session.cookie_lifetime 的值是多少?
------解决方案--------------------
重新登陆 当然又在啦
------解决方案--------------------
关闭所有已开启页面

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