Hello, I am trying to share session data between 2 sub servers ( sub domains) but it does not seem to work. I have created a php files in 2 different sub server in same domain with following codes:
// Set session variables
$_SESSION["favcolor"] = "green";
$_SESSION["favanimal"] = "cat";
second sub domain shows empty array.
How can I fix this?