ID: 20524 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Bogus +Status: Open Bug Type: Session related Operating System: Mandrake et Redhat PHP Version: 4.2.3 New Comment:
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)) Previous Comments: ------------------------------------------------------------------------ [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']; ?> ------------------------------------------------------------------------ [2002-11-22 12:16:56] [EMAIL PROTECTED] Yes but no :) It is the same problem with this config. I desespere ! Please help me. ------------------------------------------------------------------------ [2002-11-22 10:31:24] [EMAIL PROTECTED] Please take a look at the solution on this bug report: http://bugs.php.net/bug.php?id=20025 As this only happens with IE, I think it might be the same problem.. ------------------------------------------------------------------------ [2002-11-22 00:41:27] [EMAIL PROTECTED] my problem is the same than http://bugs.php.net/bug.php?id=20537 please help me. The php 4.3-dev let me a lot of problems for my users : function alredy declared, setlocale(), others errors... I'm obliged to used php 4.1* or 4.2* thanks al lot for you help PS : it's for more than 500 users in the world (90 request per second !) ------------------------------------------------------------------------ [2002-11-22 00:36:06] [EMAIL PROTECTED] script.php : <?php $essai = "test"; session_start(); session_register("essai"); header("Location: script2.php?".session_name()."=".session_id().""); ?> script2.php : <?php session_start(); echo $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