MyBB Community Forums
[General] Unique active login session - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [General] Unique active login session (/thread-208004.html)



Unique active login session - ShadowOne - 2017-02-03

- Just wondering - is it possible to do so that every user can only be logged to Mybb from one single device per time?

e.g. assuming my account is currently connected from my laptop, I can't connect via mobile phone until I log out from laptop --> When attempting to log in, if password is correct of course, I should get an error saying that I'm connected with another device and that I have to log out from there in order to proceed.


RE: Unique active login session - Matt - 2017-02-03

Not by default but might be possible with a plugin, as it could check the sessions table to find other active sessions for your user.


RE: Unique active login session - ShadowOne - 2017-02-04

(2017-02-03, 02:47 PM)Matt Wrote: Not by default but might be possible with a plugin, as it could check the sessions table to find other active sessions for your user.

Good to know, maybe I can work on the MySessions plugin to trace active sessions and force user to kill the older one, if more than 1 is active.