Re: [PHP] Destroying cookies... not working

2011-04-28 Thread Geoff Lane
On Thursday, April 28, 2011, Sean Greenslade wrote: On Wed, Apr 27, 2011 at 8:52 PM, Rick Dwyer rpdw...@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

[PHP] Destroying cookies... not working

2011-04-27 Thread Rick Dwyer
Hello all. I have a logout page that should be destroying cookies when loaded... but it is not. setcookie(mycookie, False, time() - 3600, /); However, I can still pull values stored in the cookie and I can still see the cookie in my browser's Show Cookies window. So I tried the

Re: [PHP] Destroying cookies... not working

2011-04-27 Thread Andre Polykanine
://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From: Rick Dwyer rpdw...@earthlink.net To: php-general@lists.php.net Date created: , 2:16:43 AM Subject: [PHP] Destroying cookies

Re: [PHP] Destroying cookies... not working

2011-04-27 Thread Rick Dwyer
The following did the trick... is there any reason I should not use it? $name=mysession; setcookie($name); --Rick On Apr 27, 2011, at 7:16 PM, Rick Dwyer wrote: Hello all. I have a logout page that should be destroying cookies when loaded... but it is not. setcookie(mycookie, False,

Re: [PHP] Destroying cookies... not working

2011-04-27 Thread Sean Greenslade
On Wed, Apr 27, 2011 at 8:52 PM, Rick Dwyer rpdw...@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