Home > Backend Development > PHP Tutorial > 求解phpcms后台登陆后cookies保存机制?

求解phpcms后台登陆后cookies保存机制?

WBOY
Release: 2016-06-23 14:04:07
Original
1115 people have browsed it

phpcms后台登陆后把cookies改成1年过期但是经过一段时间后还是登录不上,求解phpcms的登录过期机制


回复讨论(解决方案)

一个人都没有

不仅仅是cookie过期才会失效,如果长时间(约30分钟)没有操作,PHPCMS的管理员SESSION信息也会失效。
你可以定时去调用 index.php?m=admin&c=index&a=public_session_life 保证会话数据永不过期

很明显不是单纯的cookies验证, 如果这样的话  我得到你的cookies那密码什么的弱爆了,呵呵

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