My PHP code was create session variable as
$_SESSION['var1'] = "Value";
when redirect to another web page with command
header("location : web_page.php");
found that cannot detect the $_SESSION[‘var1’].
I tried to refresh web page by refresh button of browser, it’s working. The $_SESSION[‘var1’] has been detected as normally. I’m not sure that this cause from the DNS configure or not because before I change the configuration this problem is not appear. Could you please to advise, thank you.
Thawatchai Sap-Ulai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.