From: libor dot bubik at proit dot cz
Operating system: RedHat 9.0
PHP version: 4.3.10
PHP Bug Type: Session related
Bug description: session problem from Firefox via https
Description:
------------
Problem is only from browser Firefox and https connection (Mozilla and
MSIE is right)
Before running PHP script I removed all session file from /tmp directory.
First attempt to script shows right data, but after refresh browser (F5),
script gets sessions from unknown place and shows bad data (session data
from another script).
php.ini:
register_globals=On
Reproduce code:
---------------
<?
class Cuser {
var $login;
}
$s=new Cuser;
session_start();
session_register("s");
$s->login="john";
echo "<pre>";
print_r($_SESSION);
echo "</pre>";
?>
Expected result:
----------------
Array
(
[s] => cuser Object
(
[login] => john
)
)
Actual result:
--------------
Array
(
[s] => cuser Object
(
[login] => john
[login2] =>
[login_failed] =>
[login_test] =>
[form_stat] =>
[error] =>
[message] =>
[f_err] =>
[f_stat] =>
[f_warn] =>
[err_field] =>
[trans] =>
[iswar] =>
[menu] =>
[tisk] =>
[segmid] =>
)
[scr] => Array
(
)
)
--
Edit bug report at http://bugs.php.net/?id=31814&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31814&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=31814&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=31814&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31814&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31814&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31814&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31814&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31814&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31814&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31814&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=31814&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=31814&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31814&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31814&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31814&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31814&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31814&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31814&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31814&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31814&r=mysqlcfg