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

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

WBOY
WBOYOriginal
2016-06-13 13:32:43961browse

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

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

Statement:
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