ID: 47896 Updated by: [email protected] Reported By: G dot B dot Yahav at gmail dot com -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: WINDOWS SERVER PHP Version: 5.2.9 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2009-04-04 19:37:07] G dot B dot Yahav at gmail dot com Description: ------------ Hey, i got a problen about deleting cookie array. when i use the code above with normal cookie, all work good, but when i defined a "cookie array" i cannot delete it. Reproduce code: --------------- <?php // the cookie array name is PearServices_ClientSession if( isset( $_COOKIE['PearServices_ClientSession'] ) ) { foreach ( $_COOKIE['PearServices_ClientSession'] as $k => $v ) { pearRegistry::DeleteCookie( "PearServices_ClientSession[".$k."]" ); } } // pearRegistry::deletecookie function final static function DeleteCookie( $name ) { setcookie( $name, "", time() -3600 ); } ?> Expected result: ---------------- Cookie disappire Actual result: -------------- Cookie still in browser... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47896&edit=1
