Welcome Guest, Not a member yet? Register   Sign In
Counting users logins on separate devices
#4

In your user login table store the session id of the user logged In. When user logs out destroy the session Id and remove session Id form login table. If some one else wants to logIn at the same time when some one is already logged in with the same username or password check for the session Id in the table if there is any session Id already in table block from loggin other wise allow
Reply


Messages In This Thread
RE: Counting users logins on separate devices - by Prateek - 03-09-2018, 05:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB