Debugging a PHP program, is there any add-on/plug-in for browser which I can view sessions variables (those PHP $_SESSION[“foobar”] )?
Best if I can change the value in the variables.
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.
There is no way to manipulate the values stored in sessions from the client side.
That’s one of the main reasons you’d use a session over a cookie – YOU control the data.
With cookies, the user can manipulate the data.
The only way to access/manipulate session data from the client side would be with an Ajax call or other JavaScript mechanism to call another php script, which would be doing the retrieval/manipulation of the session data via the
session_functions.