#17759 [Com]: Why can't I get my session values?
| From: | hakan at lisas dot de | Date: | Mon, 07 Oct 2002 19:36:28 +0000 |
| Subject: | #17759 [Com]: Why can't I get my session values? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21740@lists.php.net to get a copy of this message | ||
ID: 17759
Comment by: hakan@lisas.de
Reported By: jkchang@ms6.url.com.tw
Status: No Feedback
Bug Type: Session related
Operating System: Solaris 8
PHP Version: 4.2.0
New Comment:
As with version 4.2.3 this problems seems to be gone.
At least on my machine: UltraSparc10 debian/sparc linux
unstable/testing.
-hakan
Previous Comments:
------------------------------------------------------------------------
[2002-08-10 01:00:12] php-bugs@lists.php.net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-07-09 17:33:19] StewR@wellsref.com
register_globals is off on both cases.
However, $_SESSION["normal"] does work for the listed
reproducable sample. Verifying with 'real' app...
Thanks,
Stew
------------------------------------------------------------------------
[2002-07-09 10:12:53] nohn@php.net
Ist it possible that you have register_globals off?
Try
file1.php
::::::::::::::
<?php
session_start();
$normal=1;
session_register("normal");
header('Location: file2.php');
?>
file2.php
::::::::::::::
<?php
session_register("normal");
echo "Normal:".$_SESSION["normal"]."<br><br>\n";
?>
------------------------------------------------------------------------
[2002-07-03 10:19:57] StewR@wellsref.com
Also reproducable on Solaris 9 (Ultra5/sun4u)
NonWorking:
Apache 1.3.26, ModSSL 2.8.10,
OpenSSL 0.9.6d, PHP 4.2.1
Stew
------------------------------------------------------------------------
[2002-07-02 13:59:10] fabien@operacom.com
I have the same problem on FreeBsd 4.6, Apache 1.3.26 and the latest
build of PHP (1st of july 2002)
------------------------------------------------------------------------
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/17759
--
Edit this bug report at http://bugs.php.net/?id=17759&edit=1