PHP 4.0 Bug #6162 Updated: setcookie("<cookiename>") doesn't clear the previous set cookie anymore
| From: | Bug Database | Date: | Tue, 15 Aug 2000 21:53:10 +0000 |
| Subject: | PHP 4.0 Bug #6162 Updated: setcookie("<cookiename>") doesn't clear the previous set cookie anymore | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-29067@lists.php.net to get a copy of this message | ||
ID: 6162
Updated by: sniper
Reported By: akoole@wirehub.net
Status: Assigned
Bug Type: Documentation problem
Assigned To: sniper
Comments:
Probably my mistake not to inform this bug report that user knows this.
It was me who analyzed and confirmed that the setcookie() documentation
misses some information about deleting cookies.
And the function prototype there is wrong too.
It says that all the parameters are needed..
If cookie is set with one or more of the optional parameters, it has to be
deleted with the same parameters.
So this is documentation problem which I (if someone doesn't get to it first) will
fix when I have time.
--Jani
Full Bug description available at: http://bugs.php.net/?id=6162