If a user is an admin, I would like to have the admins to have the ability to logout users manually. This would require altering and/or destroying another user’s session. Is this possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use session_save_path to determine the current session save path. Or you use a database as your session storage. I think this would be the easier way to delete another users session: session_set_save_handler.