I’m trying to pass an array defined in $_SESSION through a page on a second server.
What I have now looks like this:
session_start();
$_SESSION[order] = array(blah,blah,blah);
Then I call a script (https://www.otherserver.com/pay.php) to process payment by a 3rd party and in the passback I call the following:
include("http://www.myserver.com/mailinfo_include.php");
mailinfo_include.php:
session_start();
$ordered = $_SESSION[order];
The problem is that the included script (which is processed on myserver) does no longer see the session array. I’m stuck here… I’d really appreciate some feedback!
Thanks!!