#17759 [Fbk->NoF]: Why can't I get my session values?

From: Date: Sat, 10 Aug 2002 05:00:13 +0000
Subject: #17759 [Fbk->NoF]: Why can't I get my session values?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16419@lists.php.net to get a copy of this message
 ID:               17759
 Updated by:       php-bugs@lists.php.net
 Reported By:      jkchang@ms6.url.com.tw
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Session related
 Operating System: Solaris 8
 PHP Version:      4.2.0
 New Comment:

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".


Previous Comments:
------------------------------------------------------------------------

[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)

------------------------------------------------------------------------

[2002-07-01 15:19:37] StewR@wellsref.com

Similar symptoms on Apache/ModSSL upgrade on same box
Box: 280-R (sun4u) 2x4 

Working Config (port 89):
Solaris 8, 
Apache 1.3.23, ModSSL 2.8.7, 
OpenSSL 0.9.6c, PHP 4.2.1

NonWorking Config (port 890):
Solaris 8, Apache 1.3.26, ModSSL 2.8.10, 
OpenSSL 0.9.6d, PHP 4.2.1

Reproducable sample:

file1.php
::::::::::::::
<?php
session_start();
$normal=1;
session_register("normal");
header('Location: file2.php');
?>

file2.php
::::::::::::::
<?php
session_register("normal");
echo "Normal:".$normal."<br><br>\n";
?>

------------------------------------------------------------------------

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



Thread (10 messages)

« previous php.bugs (#16419) next »