ID: 25393 Updated by: [EMAIL PROTECTED] Reported By: zoop at lone dot ath dot cx -Status: Open +Status: Bogus Bug Type: Session related Operating System: Solaris 2.8 PHP Version: 4.3.3 New Comment:
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. Thank you for your interest in PHP. YOu probably forgot about session_start() Previous Comments: ------------------------------------------------------------------------ [2003-09-06 02:45:21] zoop at lone dot ath dot cx Description: ------------ The problem occured in php 4.3.3 apache 1.3.27 solaris 2.8 I seemed to have a problem with the $_SESSION Variable I could set something in the array and the print it but I couldn't go to another page. It would have an empty array. I downgraded to 4.3.2 and it works without any probems Reproduce code: --------------- if (!$_SESSION['the']) { print here; } $_SESSION['the'] = 1 <html> submit to load the page again Expected result: ---------------- the first time you load the page it should print here and whatever html there might be. after you reload the page or post to it it shouldn't print here. Actual result: -------------- it prints here every time you load the page. if you print the value of $_SESSION['the'] it is undefined. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25393&edit=1