|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15864 setcookie('cookie_var'); # In CVS. does not delete cookie 'cookie_var'.
Submitted: 2002-03-04 16:31 UTC Modified: 2002-03-04 18:02 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jeremy at nirvani dot net Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.0CVS-2002-03-0 OS: linux 2.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
32 - 2 = ?
Subscribe to this entry?

 [2002-03-04 16:31 UTC] jeremy at nirvani dot net
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.


Have a cookie called 'T' set to something.

# page 1
# Delete the cookie

echo 'hi';


# page 2
# The is the cookie still set?  Yes, for me. it is set, but the 
# value is empty.

echo phpinfo();


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-04 18:01 UTC] jeremy at nirvani dot net
Bogus. I'm on crack!  ;)

 [2002-03-04 18:02 UTC]
bogus means bogus ;)
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Sep 25 23:01:26 2023 UTC