ID: 20524 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Session related Operating System: Mandrake et Redhat PHP Version: 4.2.3 New Comment:
Do you have any ideas as to why turning KeepAlive off solved the problem? Previous Comments: ------------------------------------------------------------------------ [2002-12-07 02:43:23] [EMAIL PROTECTED] I have solved my problem ! In the apache configuration : KeepAlive Off http://www2.phpnet.org/phpinfo.php Its always a php bug ! Thanks but your suggestion of using $_SESSION did not resolv the problem. My solution work fine... Cordially ------------------------------------------------------------------------ [2002-12-07 01:27:09] [EMAIL PROTECTED] Does it work when you try my suggestion of using $_SESSION ? ------------------------------------------------------------------------ [2002-12-03 09:13:35] [EMAIL PROTECTED] Please HELP ME ! I'm very blocked by that problem. Thanks a lot for you reply ------------------------------------------------------------------------ [2002-11-23 16:41:01] [EMAIL PROTECTED] No ! Because the register_global is defined as On. register_argc_argv On On register_globals On On And when the register_globals is defined as On, the session params can be used as variable ... It's indeed a bug because the variables of session are not sauved in files. (0 lines in the file created). In every case, I decided to go back php in module apache because mod_bandwidth of apache seems to talk an incompatibility with php in CGI (the scripts php are not interpretes when it is activated..) If you have a solution for the two problems... To part it, please , think you whom it is preferable to cross php in CGI or to leave it in module (by knowing that I have a lot of traffic (90 requests per second)) ------------------------------------------------------------------------ [2002-11-23 15:54:19] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Your example session code is not correct. It should be something like this: <?php session_start(); $_SESSION['essai'] = "test"; header("Location: script2.php?".session_name()."=".session_id()); ?> <?php session_start(); echo $_SESSION['essai']; ?> ------------------------------------------------------------------------ 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/20524 -- Edit this bug report at http://bugs.php.net/?id=20524&edit=1