php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31814 session problem from Firefox via https
Submitted: 2005-02-02 15:23 UTC Modified: 2005-02-03 09:07 UTC
From: libor dot bubik at proit dot cz Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.10 OS: RedHat 9.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: libor dot bubik at proit dot cz
New email:
PHP Version: OS:

 

 [2005-02-02 15:23 UTC] libor dot bubik at proit dot cz
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
        (
        )

)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-02 17:15 UTC] sniper@php.net
As you should have guessed: Browser bugs do not belong in PHP bug system. (there's nothing wrong with PHP regarding this, and firefox works just fine for me with https and sessions)

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Sep 16 00:00:01 2025 UTC