I want to allow admins to kill user sessions. I have a page where I display the online users so I need to implement something that allows them to kill a user’s session. I keep the session data in the database currently and I tried with
where $_GET [ ‘id’ ] is the session id but that doesn’t do anything since the session data is recreated in the db. How do I logout a user knowing his session id?