RE: [PHP] unset($_COOKIE['foo']) and $_COOKIE['foo'] = '' both do n't do anything.
| From: | Ford, Mike [LSS] | Date: | Thu, 29 Jul 2004 10:09:51 +0000 |
| Subject: | RE: [PHP] unset($_COOKIE['foo']) and $_COOKIE['foo'] = '' both do n't do anything. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-192168@lists.php.net to get a copy of this message | ||
On 28 July 2004 20:17, Daevid Vincent wrote:
> No. I'm trying to delete it from PHP memory, but keep the cookie on
> their client in the cookie.txt file or wherever it's stored.
Where are you doing the test for it -- in the same script, or in a
subsequent one? If the former, then I'm confused; if the latter, then this
is expected behaviour (explanation on request ;).
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211