How to set only one session per tab browser?

2019-04-10 13:53发布

问题:

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?