Welcome Guest, Not a member yet? Register   Sign In
Prevent Multiple User Logins
#1

[eluser]Unknown[/eluser]
Hi,

I want to create secured Authentication system. Please help me to do the following things.

1) prevent multiple logins form diffrent computer for a same user

2) Close all other sessions from other systems like gmail


Please help me


Thanks,

Rahul
#2

[eluser]Eduard Stankovic[/eluser]
1. when user logged in genetrate some random string and save it into DB and cookies ... in is_logged_in() function compare this values .... when it doesnt match destroy session on cookies.

2. You will probably need some APIs.
#3

[eluser]CroNiX[/eluser]
There are many user auth modules available for CI that do all of this for you. I'd suggest using one of them to save some time, or using one to see how they do what you are asking.




Theme © iAndrew 2016 - Forum software by © MyBB