ID: 33142 User updated by: jkump at everestgt dot com Reported By: jkump at everestgt dot com -Status: Bogus +Status: Open Bug Type: Session related Operating System: Solaris 9 PHP Version: 5.0.4 New Comment:
Please check this bug report with regard to sessions and simplexml_load_string() Thanks Previous Comments: ------------------------------------------------------------------------ [2005-06-02 23:01:46] jkump at everestgt dot com This problem occurs when simplexml_load_string is used within the session. ------------------------------------------------------------------------ [2005-05-26 19:40:44] [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. This is not a support forum where you ask how to use PHP.. (Thre is no bug here, sessions work just fine) ------------------------------------------------------------------------ [2005-05-26 02:35:43] jkump at everestgt dot com That is fine. I will try that but, this is the error that I am getting when I come back in and nothing is available in the $_SESSION superglobal. [24-May-2005 16:06:22] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Node no longer exists in /export/home/httpd/corp/my_everestkc_net/modules/BillOnline/session.class.php on line 64 [24-May-2005 16:06:22] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /export/home/httpd/corp/my_everestkc_net/modules/BillOnline/session.class.php:64) in /export/home/httpd/corp/my_everestkc_net/modules/BillOnline/session.class.php on line 64 [24-May-2005 16:06:22] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /export/home/httpd/corp/my_everestkc_net/modules/BillOnline/session.class.php:64) in /export/home/httpd/corp/my_everestkc_net/modules/BillOnline/session.class.php on line 64 These show up on the second trip into the code. I cant initialize the session again. When I assign stuff to $_SESSION['foo'] and then exit the script. come back into the script via a link on the page. The session is no longer valid and the $_SESSION info is gone. The code works correctly in php 4.3.11. and it fails on 5.0.4. I can try and setup an external area so you can see what is happening. THanks ------------------------------------------------------------------------ [2005-05-26 00:37:20] [EMAIL PROTECTED] Use 'isset($_SESSION['foo'])' and it will work just fine. (you're setting it to non-false value..) ------------------------------------------------------------------------ [2005-05-25 18:57:15] jkump at everestgt dot com Description: ------------ When using session_start() and coming into the page a second time. The $_SESSION[] information is not getting saved correctly. When returing to the page in an appropriate amount of time the session_start functions says the node no lionger exists. Works correctly in php 4.3.11 but not in 5.0.4 Reproduce code: --------------- <?php session_start(); if (!$_SESSION["foo"]) { $_SESSION["foo"] = 45; } else { print "found\n"; } ?> Expected result: ---------------- secnd time called should say found. Actual result: -------------- Get warning messages about node no longer valid. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33142&edit=1