#36439 [Opn->Bgs]: PHP 5 Lost page by page session...
| From: | mike@php.net | Date: | Sat, 18 Feb 2006 15:31:57 +0000 |
| Subject: | #36439 [Opn->Bgs]: PHP 5 Lost page by page session... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-93400@lists.php.net to get a copy of this message | ||
ID: 36439
Updated by: mike@php.net
Reported By: wils at wilsolutions dot com dot br
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Windows 2003 Server
PHP Version: 5.1.2
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-02-18 03:20:32] wils at wilsolutions dot com dot br
Description:
------------
I am trying strat session in one page and read this sessions vars in
other pages but the session vars apear only in the previous page.
Sample:
page1.php - Start and set the session vars
page3.php - Read the sessions var initialized.
Reproduce code:
---------------
page1.php
<?php
session_start();
$_SESSION['favcolor'] = 'green';
echo $_SESSION['favcolor'];
echo '<br/><a href="page2.php">page 2</a>';
?>
page2.php
<?php
session_start();
echo $_SESSION['favcolor'];
echo '<br/><a href="page1.php">page 2</a>';
?>
Expected result:
----------------
green
Actual result:
--------------
nothing
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36439&edit=1