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

1. Save user id and session data in database after user clicks log in
2. Every page visit, check database on how many connection they are making
2.1. If value exceeded X then logout first session (or how many you want)
3. User visits again and they need to login again due to the session have been destroyed
Reply


Messages In This Thread
RE: Counting users logins on separate devices - by jreklund - 03-08-2018, 12:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB