#20524 [Opn->Fbk]: Session => empty files
| From: | iliaa@php.net | Date: | Sat, 07 Dec 2002 07:27:10 +0000 |
| Subject: | #20524 [Opn->Fbk]: Session => empty files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26944@lists.php.net to get a copy of this message | ||
ID: 20524
Updated by: iliaa@php.net
Reported By: thibaud@phpnet.org
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Mandrake et Redhat
PHP Version: 4.2.3
New Comment:
Does it work when you try my suggestion of using $_SESSION ?
Previous Comments:
------------------------------------------------------------------------
[2002-12-03 09:13:35] thibaud@phpnet.org
Please HELP ME !
I'm very blocked by that problem.
Thanks a lot for you reply
------------------------------------------------------------------------
[2002-11-23 16:41:01] thibaud@phpnet.org
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] iliaa@php.net
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] thibaud@phpnet.org
Yes but no :)
It is the same problem with this config.
I desespere !
Please help me.
------------------------------------------------------------------------
[2002-11-22 10:31:24] sniper@php.net
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..
------------------------------------------------------------------------
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