Vinodh

Vinodh

  • NA
  • 6
  • 965

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

Aug 5 2012 1:57 PM

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 .