ID: 25393 User updated by: zoop at lone dot ath dot cx Reported By: zoop at lone dot ath dot cx -Status: Bogus +Status: Open Bug Type: Session related Operating System: Solaris 2.8 PHP Version: 4.3.3 New Comment:
I don't know if I needed to change the status or if I could of this bug. Previous Comments: ------------------------------------------------------------------------ [2003-09-06 10:34:17] zoop at lone dot ath dot cx I thought that this "session.auto_start = 1" option made it so you didn't have to use session_start() I am useing the same config file from version 4.3.2 and 4.3.3 and 4.3.3 doesn't keeps the session variable around. ------------------------------------------------------------------------ [2003-09-06 05:05:41] [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. Thank you for your interest in PHP. YOu probably forgot about session_start() ------------------------------------------------------------------------ [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