Closed (fixed)
Project:
Automated Logout
Version:
6.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2011 at 15:05 UTC
Updated:
24 May 2013 at 12:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
tayzlor commentedpatch to fix this issue.
I've also added another line -
$_SESSION['autologout'] = TRUE;
And move the session destroy to after the user module invoke.
This allows other modules to catch when an autologout has taken place and act upon it inside hook_user() in the 'logout' OP.
Comment #2
tayzlor commentedComment #3
mstef commentedGot a patch for 2.x?
Comment #4
mstef commentedThis should apply for 2.5
Comment #5
jrz commentedDrupal gives me the following error when applying autologout.pressflow-1270950.patch.
Fatal error: Call to undefined function drupal_session_destroy()
Any ideas?
thanks
Comment #6
dstolHere is a patch for 6.x-2.x that supports both Pressflow and Drupal.
Comment #7
dstolSame patch but for 6.x-4.x.
Comment #8
johnennew commentedThis seems fairly straightforward so have committed to the 6.x-4.x branch.
I don't think there needs to be a 7.x-4.x version - post a new patch if needed.