ID: 15864
Updated by: [EMAIL PROTECTED]
-Summary: setcookie('cookie_var'); # In CVS. does not delete
cookie 'cookie_var'.
Reported By: [EMAIL PROTECTED]
-Status: Closed
+Status: Bogus
Bug Type: Output Control
Operating System: linux 2.4
-PHP Version: 4.0CVS-2002-03-04
+PHP Version: 4.0CVS-2002-03-0
New Comment:
bogus means bogus ;)
Previous Comments:
------------------------------------------------------------------------
[2002-03-04 18:01:00] [EMAIL PROTECTED]
Bogus. I'm on crack! ;)
-jeremy
------------------------------------------------------------------------
[2002-03-04 16:31:37] [EMAIL PROTECTED]
FYI, my CVS is dated from Friday, March 1. If this has been fixed in
the past few days, forgive me.
in 4.2.0-dev, setcookie('T'), does not delete the cookie var 'T'. In
4.0.6 this works just fine.
Jeremy
---
Have a cookie called 'T' set to something.
<?php
# page 1
# Delete the cookie
setcookie('T');
echo 'hi';
?>
<?php
# page 2
# The is the cookie still set? Yes, for me. it is set, but the
# value is empty.
echo phpinfo();
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15864&edit=1