PHP SESSION VARS DISAPPEARING
Posted on 2007-10-09
I have an auth script which is failing to hold on to any $_SESSION values after any link or page change.
Doing some brief debugging, by using "print_r($_SESSION)" I could see that the session variables (username & password) were in fact in the array just after the codes that assigns them. I also had that same print_r($_SESSION) at the begging of the file to see what it is when the page loads.
I made a link to return back to the same page using <a href="my_page">Link</a>
and when I use the Link I get a print out for "Array()" from the print_r($_SESSION)
Indicating that nothing has been set and the $_SESSION array is empty.
Any Idea's on what I should be looking for?
Im using PHP 5.2.4 with IIS7 on Vista