|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-08-15 07:20 UTC] akoole at wirehub dot net
For some reason, and I've not noticed this before,
setcookie("<cookiename>","<somevalue>");
works fine,
but after that, if you wish to clear the cookie wich was set with:
setcookie("<cookiename>");
doesn't work anymore, thus leaving the cookie present until it expires (in this case when the browser is closed)
is this a bug or something that is only misbehaving on my system?
Cheers,
Arjan
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Jun 15 09:00:02 2026 UTC |
setcookie("test"); Deletes the cookie like it should in my system. Are you trying to set and delete the cookie in same script? The order in which this should be done is different in php3 and php4. --Jani