Re: unable to delete cookies

From: Date: Wed, 23 Aug 2000 16:43:40 +0000
Subject: Re: unable to delete cookies
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-13192@lists.php.net to get a copy of this message
Mark, I *think* it's probably the "time()+1800". Try it without the quotes, or without the argument altogether. Hans On Thu, 24 Aug 2000, Mark Lo wrote: > Hi, > > I can not delete cookies. The script is as follows: Please point out the mistake. > > set cookies > > > setcookie("useruser","$value","time()+1800","","user.domain.com",0); > > delete cookies > > > setcookie("useruser","","time()","","user.domain.com",0); > > But I am not able to delete the cookie from the above scripts. I don't have any idea at > all. Please point me out what did i do wrong on this. > > Thank You > > Mark Lo > Hans Anderson ~ me@hansanderson.com PO Box 426, Missoula, MT 59806 | PHP, Search Engines, SQL (800)397-9116 / (406)549-6524 | Databases, Flash Multimedia, http://www.hansanderson.com | Killer Audio Production, http://www.goofiness.com | Minty Fresh Breath.

« previous php.general (#13192) next »