php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2196 Browser Crash from redundant session variable initializations
Submitted: 1999-08-30 19:52 UTC Modified: 1999-09-27 10:45 UTC
From: jarceri at starion dot com Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 2 OS: BSD/OS 4.01
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: jarceri at starion dot com
New email:
PHP Version: OS:

 

 [1999-08-30 19:52 UTC] jarceri at starion dot com
<?php
        $s_userIDKey = $userIDKey;
        session_start();
        if(session_is_registered("userIDKey"))
        {
                session_unregister("userIDKey");
        };
session_register("s_userIDKey");
$s_userIDKey = $userIDKey;

$s_siteKey = $siteKey;
        if(session_is_registered("siteKey"))
        {
                session_unregister("siteKey");
        }
session_register("s_siteKey");
$s_siteKey = $siteKey;

?>


After so many times this will crash the browser

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-27 10:45 UTC] andrey at cvs dot php dot net
Session startup/shutdown sequence has been fixed up after
4.0 Beta 2. Either update from CVS or wait for 4.0 Beta 3.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun May 11 12:01:27 2025 UTC