#20524 [Opn->Bgs]: Session => empty files
| From: | iliaa@php.net | Date: | Sat, 23 Nov 2002 21:54:19 +0000 |
| Subject: | #20524 [Opn->Bgs]: Session => empty files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25675@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: Bogus
Bug Type: Session related
Operating System: Mandrake et Redhat
PHP Version: 4.2.3
New Comment:
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'];
?>
Previous Comments:
------------------------------------------------------------------------
[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..
------------------------------------------------------------------------
[2002-11-22 00:41:27] thibaud@phpnet.org
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] thibaud@phpnet.org
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;
?>
------------------------------------------------------------------------
[2002-11-21 17:37:49] sniper@php.net
We need to see your code, please put the sources of those
scripts available too.
And DO NOT add comments to your own bug report, update the status and
version information when they change!
------------------------------------------------------------------------
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