I want to restrict login users to only one session - even around browser tabs. If user loaded the page in another tab will be not logged in it, when log on - all other sessions will be destroyed.
How to do it?
来源:https://stackoverflow.com/questions/24121421/how-to-set-only-one-session-per-tab-browser