Closed (fixed)
Project:
Automated Logout
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Sep 2009 at 14:35 UTC
Updated:
10 Jun 2014 at 13:24 UTC
Jump to comment: Most recent
The $_SESSION['lastaccess'] variable is set on login, but the times that it is updated are only apparently during hook_init(), when it should really be updated during hook_boot() since init() doesn't load on cached pages. When users only surf cached pages, autologout doesn't see their activity and logs them out anyway.
Comments
Comment #1
jrglasgow commentedI have made this change in cvs, test the newest dev release and test for me
Comment #3
jvandervort commentedReverted this change. Need to revisit this. Hook_boot has crashed many sites with other modules and doesn't seem dependable.
I think we need to figure out a way to only update the $_SESSION['lastaccess'] variable, but leave all logic in hook_init.
Comment #4
jvandervort commentedNew fix committed in 6.x-2.x-dev for the Jan 19 nightly.
Comment #5
jvandervort commentedComment #6
jvandervort commented