Re: unable to delete cookies
| From: | Mark Lo | Date: | Wed, 23 Aug 2000 17:47:02 +0000 |
| Subject: | Re: unable to delete cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13193@lists.php.net to get a copy of this message | ||
it is without quotes already.
----- Original Message -----
From: Hans H. Anderson <me@hansanderson.com>
To: Mark Lo <markloky@netvigator.com>
Cc: php general <php-general@lists.php.net>
Sent: Thursday, August 24, 2000 12:43 AM
Subject: Re: [PHP] unable to delete cookies
> 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.
>
>