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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 07:01:27 2024 UTC