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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Thu Mar 28 19:01:29 2024 UTC