ID: 39748 User updated by: str at strgt dot cjb dot net Reported By: str at strgt dot cjb dot net Status: Bogus Bug Type: Session related Operating System: Debian GNU/Linux PHP Version: 5.2.0 New Comment:
I checked in 2 servers with the same PHP version and got the same error Previous Comments: ------------------------------------------------------------------------ [2006-12-05 20:47:01] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. As you were told in IRC, this is not a PHP bug. ------------------------------------------------------------------------ [2006-12-05 20:39:59] str at strgt dot cjb dot net Description: ------------ I open a session in browserA and get session_id() = X;... I set some vars to $_SESSION and then go to browserB where I get session_id() = Y. If i try to set the session_id(X) in browserB, the session is destroyed and I cannot see the session from browserA or browserB. You can test the code in http://develsystems.com/sessionTest.php http://develsystems.com/sessionTest.phps And see the phpinfo in http://develsystems.com/phpinfo.php Reproduce code: --------------- <?php if ($_GET['SES']) { session_id($_GET['SES']); } session_start(); echo session_id(); if (isset($_GET['a'])) { $_SESSION['a'] = $_GET['a']; } echo '<pre>'; var_dump($_SESSION); Expected result: ---------------- It should open the session from browserA in browserB and not destroy it. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39748&edit=1