ID: 33142 Updated by: [EMAIL PROTECTED] Reported By: jkump at everestgt dot com -Status: Open +Status: Feedback Bug Type: Session related Operating System: Solaris 9 PHP Version: 5.0.4 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2005-06-07 06:34:15] jkump at everestgt dot com Please check this bug report with regard to sessions and simplexml_load_string() Thanks ------------------------------------------------------------------------ [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..) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/33142 -- Edit this bug report at http://bugs.php.net/?id=33142&edit=1