I want to see the content of the the array $_SESSION with the command print_r($_SESSION) but what I get is just the following output:
Array ()
what am I missing ?
thanks
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.
Make sure you call
session_start()at the top of all the pages you wish to use the session.http://php.net/manual/en/function.session-start.php