Home > Backend Development > PHP Tutorial > sessionid在cookie中无法过期的有关问题

sessionid在cookie中无法过期的有关问题

WBOY
Release: 2016-06-13 13:32:43
Original
966 people have browsed it

sessionid在cookie中无法过期的问题
每次我只能手动删除cookie不然没办法使得cookie过期

------解决方案--------------------
session_name() 返回的是 SESSION cookie的名字
session_id() 返回的是 SESSION cookie的值

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