Welcome Guest, Not a member yet? Register   Sign In
Database Session to restrict user login
#1

I would like to restrict the user to login to only one system at a time. I am storing the session in Database, but there is no reference to the user in ci_session table. how can I insert a field to ci_session table maybe user_id and need to refer to this while user logs in from another system to delete all other sessions for that particular user. 
I am using Shield for Authentication
Reply
#2

prevent multiple login Codeigniter 4
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB