I want to get a session loaded by the Session class given a particular session id. 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.
Do you want to load the data associated to the session for a specific session ID? Why do want to do this? This sounds like a very questionable security issue. A session is always associated to a specific user.
Read the docs to see how to access data for a session. I would not suggest reading different sessions from different users on a request. That’s not the purpose of a session. If you really want to have session data available, you can store the session data inside your database (infos on how to do that inside the docs).