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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Sep 08 01:01:28 2024 UTC