The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to force user login only one device at a time ?
#4
Hi rockfight,

The only realistic way that currently exists in UserSpice to handle this is to use the Session Manager which is currently broken and will not be fixed until UserSpice 4.4.

The only way you could do it currently is create some sort of token that you store in the session variables and if it is not equal to the one you store in the DB (on login), log the user out. But the user would only see the logout on their next page load. My recommendation is to wait until 4.4 for the solution for Session Tracking and you would be able to do this easily.

Brandin.
  Reply


Messages In This Thread
RE: How to force user login only one device at a time ? - by Brandin - 08-02-2018, 09:45 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)