Re: Destroying cookies... not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 27, 2011 at 8:52 PM, Rick Dwyer <rpdwyer@xxxxxxxxxxxxx> 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.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux