Home > Backend Development > PHP Tutorial > session-php setcookie有效期问题

session-php setcookie有效期问题

WBOY
Release: 2016-06-02 11:28:42
Original
891 people have browsed it

sessionphpcookie

使用session时,cookie有效期在服务器端设置的,传递到客户端,如果客户端电脑的时钟不正确,cookie能正确地被处理吗?
比如,假设服务器的时间是对的,服务器设置一个当前时间+3600秒的cookie,但客户端的时钟不对,且时钟快2个小时,那这样的一个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