I have a very basic php session login script. I want to force logout of a certain user or force logout of all users.
How can I read all sessions made to my website,
You can use session_save_path() to find the path where PHP saves the session files, and then delete them using unlink().