ID:               15864
 Updated by:       [EMAIL PROTECTED]
-Summary:          setcookie('cookie_var'); #  In CVS. does not delete
                   cookie 'cookie_var'.
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Output Control
 Operating System: linux 2.4
 PHP Version:      4.0CVS-2002-03-04
 New Comment:

Bogus. I'm on crack!  ;)

-jeremy


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to