Closed (fixed)
Project:
Automated Logout
Version:
6.x-2.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2010 at 23:17 UTC
Updated:
11 Oct 2010 at 15:00 UTC
If you use this module to prevent multiple sessions with the same account but don't use it to put timeout on user's sessions, the $_SESSION gets flooded over time. This is because the hook_boot function will append the timestamp of each page load onto the $_SESSION variable and the only functionality that does anything with the timestamps is behind an if statement.
If you simply throw the same if statement around the location in the hook_boot where the timestamps are appended, this issue is fixed as they aren't needed. I've attached a patch for this.
| Comment | File | Size | Author |
|---|---|---|---|
| autologout.patch | 689 bytes | Gekiboy |
Comments
Comment #1
jvandervort commentedThanks for the patch, committed.
Comment #2
jvandervort commentedThe patch didn't work exactly as written, so I moved the clear function into hook_init.