Client wants to add functionality that allow one user to sign in only one place at a time. For example If I am login as maria.nausal@gmail.com then software do not allow me to login by using same email account in same system with different browser or different system.
I was handling this functioanlity by updating status of user but it does not work when user close browser button without logout.
Then I used onbeforeunload event for handling this type of issue. Everything is working fine in desktops but this event does not work in mobile device. By using Onbeforeunload,
If you have other solution that works in all environments please suggest me. Solution should be with session because onbeforeunload is also creating issue.
Thankyou