0
Answer

way to implement exclusive login, the account can only be used by one person at a time

Ask a question
Vinodh

Vinodh

12y
970
1

In some situations, we need exclusive login, which means double login is disabled, the account can only be used by one person at a time. In other words, two users can not use the same account at the same time from different places.

I have looked at some popular solutions like setting a flag in db or session  once user log in but this won't help if user closes the browser. 

any other solutions kindly suggest . 

Thanks in adavance .