第一步,确保用户是通过取消相关会话变量来进行注销的。
The first step is to make sure that the user is logged out by unsetting the relevant session variables.
将判断用户多长时间没有活动并对他们进行注销的所有逻辑都放在服务器上。
Placing all the logic that determines how long a user has been inactive and then logging them off, entirely on the server.
要测试administrators角色,您需要通过关闭并重新打开您的浏览器进行注销。
To test the administrators role, you need to log out by closing and reopening your browser.
应用推荐