PHP 会话 ID 不同 [英] PHP session id's differ
问题描述
我使用的是 php 5.2.8
i am using php 5.2.8
我有 index.html,它从 IFRAME 加载 LOAD.PHP.
i have index.html, which loads LOAD.PHP from IFRAME.
iframe src="load.php".....
iframe src="load.php".....
我打印了 load.php 的会话 ID.
i printed out load.php's session id.
然后我运行另一个 test.php,并打印出它的会话 ID.
then i ran another test.php, and printed out it's session id.
php 会话 ID 不同.
因此,我无法传递任何会话变量....
therefore, i cannot pass any session variables....
这里发生了什么?这个问题以前没有发生过,今天突然开始发生了....但是这个问题仍然存在......它让我发疯!
what is happening here ? this problem did not happen before, suddenly today it started happening.... however this problem still exists....its driving me nuts !
session.saved_path 是一样的..../var/php5, cookie 路径是一样的...
session.saved_path is same for both.... /var/php5, cookie path is same...
推荐答案
http://www.example.com 将具有与 http://example.com
这篇关于PHP 会话 ID 不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!