Hi everyone!
I have a simple form which passes a session variable and it simply fails to load on the second page, I have same version, php 5, on both boxes, works on one not on the other,
I checked to see if session id's were the same, and they are, exactly the same on both pages of the form (NOT on both servers, these are obviously different). Session array is completely empty. session_start(); is the first line of code on all pages of the form.
//this is on first page
session_start();
echo "session id ".session_id();
$_SESSION["gencode"] = $gencode;
//this is on 2nd page
session_start();
echo "session id ".session_id();
echo $_SESSION["gencode"];
Again, I had it working exactly the same on another server, after the move this part broke, should I be looking for a setting somewhere on the server? Both are Linux, if the session_id is echoing that means the same session exists correct?
any advice would help