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.
The idea is for added security. I just don't want traces of it around after the initial login. > -----Original Message----- > From: Matt M. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 12:03 PM > To: Daevid Vincent > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] unset($_COOKIE['foo']) and $_COOKIE['foo'] > = '' both don't do anything. > > > unset($_COOKIE['foo']); > > > > And also > > > > $_COOKIE['foo'] = ''; > > Are you trying to delete the cookie on the client side? > > if so try: > > setcookie ('foo', '', time() - 3600); > > > http://us2.php.net/setcookie > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php