ID: 32564 Updated by: [EMAIL PROTECTED] Reported By: echenavaz at mengine dot fr -Status: Open +Status: Feedback Bug Type: Session related Operating System: debian 2.6.9 PHP Version: 5.0.4 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2005-04-04 10:17:18] echenavaz at mengine dot fr Description: ------------ work fine whith 5.0.0 do not work whith 5.0.4 (whith zlib.output_compression = On) Reproduce code: --------------- foreach($_SESSION as $key_session => $session) { if(substr($key_session, 0, 17) == "session_pm_search") { unset($_SESSION[$key_session]); } } $forward_url = "https://".$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME']; header("location:$forward_url"); die(); Expected result: ---------------- $_SESSION['session_pm_searchXXXXX'] are unset Actual result: -------------- $_SESSION['session_pm_searchXXXXX'] are not unset ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32564&edit=1