Posted by deekayen on September 18, 2009 at 2:35pm
4 followers
Jump to:
| Project: | Automated Logout |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | jvandervort |
| Status: | closed (fixed) |
Issue Summary
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
#1
I have made this change in cvs, test the newest dev release and test for me
#2
Automatically closed -- issue fixed for 2 weeks with no activity.
#3
Reverted 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.
#4
New fix committed in 6.x-2.x-dev for the Jan 19 nightly.
#5
#6
#7
Automatically closed -- issue fixed for 2 weeks with no activity.