php.net |  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
Votes:1
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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jeremy at nirvani dot net
New email:
PHP Version: OS:

 

 [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.

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();
?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

-jeremy
 [2002-03-04 18:02 UTC] jan@php.net
bogus means bogus ;)
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Aug 11 18:03:36 2022 UTC