Home > Backend Development > PHP Tutorial > 用户长时间无操作,要求重新登录解决方案

用户长时间无操作,要求重新登录解决方案

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:10:27
Original
4046 people have browsed it

用户长时间无操作,要求重新登录
我一直没搞懂是怎么判断用户是否操作的,用户什么时候是操作的什么时候是没有操作的
------解决思路----------------------
就是session過期丟失,如果用戶一直都有動作,例如點擊,跳轉等,都會刷新session的時間。
這樣就不會丟失了。

Related labels:
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
Latest Issues
Session
From 1970-01-01 08:00:00
0
0
0
session
From 1970-01-01 08:00:00
0
0
0
session login information
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template