Re: unable to delete cookies
| From: | andreas \(@work\) | Date: | Wed, 23 Aug 2000 18:05:10 +0000 |
| Subject: | Re: unable to delete cookies | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13195@lists.php.net to get a copy of this message | ||
hi,
try
setcookie("useruser","",time(),"","user.domain.com",0);
should work
andreas
viva technologies
> 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.
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>