ID:               28678
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lthaete at secmgmt dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: Fedora
 PHP Version:      4.3.6
 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. 

Thank you for your interest in PHP.

Known bugs in IE6.


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

[2004-06-07 20:15:51] lthaete at secmgmt dot com

Description:
------------
Open the index page with IE (I was using version 6).
The page data on the page and in the sess_ file will match.
Now follow the link to page one the session data seen with
print_r will be correct, but the session data in the sess_ file
will have not changed.  It is because of the image tag with
no image entry.  Remove the image tag and refresh and the page
and the session file will match.  Now replace the image tag
and refresh the page the session file will revert to it origional 
value, the one stored from the index page even if you are on
page one.  This does not happen with netscape or mozilla.

Reproduce code:
---------------
--------------------- constants.php --------------------
<?
define("PAGE_INDEX", 0);
define("PAGE_ONE", 1);
define("ACTION_INDEX", 0);
define("ACTION_ONE", 1);
?>
-------------------- index.php --------------------------
<?
require "constants.php";
session_start();
$_SESSION["CURRENT_PAGE"]   = PAGE_INDEX;
$_SESSION["CURRENT_ACTION"] = ACTION_INDEX;
?>

<html>
<head>
<title>Session Error Index Page</title>
</head>
<body>
Session Error Index Page
<pre>
<? print_r($_SESSION); ?>
</pre>
<br>
<a href="one.php">Session Error Page One</a>
<br>
<img src="" border="0" width="1" height="1">
</body>
</html>
----------------- one.php ----------------------
<?
require "constants.php";
session_start();
$_SESSION["CURRENT_PAGE"]   = PAGE_ONE;
$_SESSION["CURRENT_ACTION"] = ACTION_ONE;
?>

<html>
<head>
<title>Session Error Page One</title>
</head>
<body>
Session Error Page One
<pre>
<? print_r($_SESSION); ?>
</pre>
<br>
<img src="" border="0" width="1" height="1">
</body>
</html>
------------------------------------------------

Expected result:
----------------
Session values in the session file are changed to match session data
during script execution

Actual result:
--------------
Session file data does not change from origional values.


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


-- 
Edit this bug report at http://bugs.php.net/?id=28678&edit=1

Reply via email to