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

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: Thu Dec 26 17:01:31 2024 UTC