Welcome Guest, Not a member yet? Register   Sign In
get logged users and force user logout
#1

[eluser]Unknown[/eluser]
hello
i spend many days searching for a way in which
i can get all currently logged in users and force user logout to take user out of the system
but i could not find any suitable answer
please help me if any one knows how

note : i use ci_sessions table to store session and ION_AUTH library
#2

[eluser]LuckyFella73[/eluser]
I wonder why you should do that but I maybe there is a reason..
All I can think of ("quick n dirty solution") would be to empty the
session table. I'm not familiar with Ion_Auth - maybe you have
to empty a related table where the logins are tracked (like the
CI session table). On the next page load the user should be logged
out. Didn't test it but should work.




Theme © iAndrew 2016 - Forum software by © MyBB