Welcome Guest, Not a member yet? Register   Sign In
prohibit a login account at the same time in two different places
#1

[eluser]Unknown[/eluser]
Hi guys!
Im newbie CodeIgniter.
As the post title, i want prohibit a login account at the same time in two different places.
please help me to solve this problem.
Thanks for read!
#2

[eluser]jonez[/eluser]
Create a table that stores activity, log a users IP + user agent hash when they sign in. Any time a user logs in, check that table for activity < 5min ago (or whatever your session timeout is). If you see the same user with a different IP / hash you can block their sign in.




Theme © iAndrew 2016 - Forum software by © MyBB