$_SESSION is empty in another page
h1.html) which submits a form to a PHP page (p1.php) via an AJAX call.
In p1.php I have:
session_start();
$_SESSION['sth'] = "some value";开发者_JS百科
// some other stuff here
Then I submit another form in h1.html in another PHP page (p2.php) without using AJAX.
$_SESSION is empty in p2.php!
I call session_start() in both p1 and p2.
Any suggestion?
加载中,请稍侯......
精彩评论