Re: Destroying cookies... not working

From: Date: Thu, 28 Apr 2011 01:06:53 +0000
Subject: Re: Destroying cookies... not working
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-312522@lists.php.net to get a copy of this message
On Wed, Apr 27, 2011 at 8:52 PM, Rick Dwyer <rpdwyer@earthlink.net> wrote: > The following did the trick... is there any reason I should not use it? > > $name="mysession"; > setcookie($name); > > --Rick Only if you're OCD, since the cookie is still technically there, just empty. Without setting the expire arg, the browser will keep it until closed. -- --Zootboy Sent from my PC.

« previous php.general (#312522) next »