In the same browser, not on the same domain:
If on the site A
, I store in session:
session_start();
$_SESSION['fruit'] = "Apple";
If on the site B
, I store in session:
session_start();
$_SESSION['color'] = "green";
How can I echo on the site C
:
// Apple is green.
session_start();
$_SESSION['fruit'].' is '.$_SESSION['color'];
Is it possible I echo, from another domain but in the same browser, all the $_SESSION
variables ?
Thanks for the help.