Closed (fixed)
Project:
Session Limit
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2011 at 18:32 UTC
Updated:
11 Dec 2011 at 00:18 UTC
Jump to comment: Most recent file
Comments
Comment #1
liam mcdermott commentedAnd here's a patch!
Note: I had to use
session_destroy();instead ofsession_limit_invoke_session_limit(session_id(), 'disconnect');as the session would not properly be destroyed otherwise, and the user would still appear logged-in.Comment #2
liam mcdermott commentedWould help if I attached the file! :)
Comment #3
RikiB commentedThis is perfect, it adds a 3rd options in the admin section which gives you the option to prevent new sessions once they are filled. Thanks Liam! :D
Comment #4
deekayen commentedcommitted
http://drupalcode.org/project/session_limit.git/commit/a0cbed9
Comment #6
marynz commentedHi
thanks for this module and patch, was just what i needed - works great.
Is there a way to make sure user 1 doesn't get locked out? I found myself blocked - used the back button in the browser to get back to an admin page then and logged out and back in a couple of times before the log in was successful.
in the meantime ill use cleaner module to clear old sessions every time cron runs, that way at least i will eventually be able to log on again...
mary