[EMAIL PROTECTED] wrote:
> 
> How do you "delete" the cookie?

I delete like this:


<?
   setcookie("username");
   setcookie("passwd");
   header("Location: http://".$HTTP_HOST."/logout.html");
   exit;
?>

is this correct? 
to set cookie i use:
 setcookie("username",$username); 

Nikolai

> 
> Nikolai Vladychevski <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > My site has been working with cookies just fine .... until i discovered
> > that some browsers (i think it is some browser under MacOS, I'm
> > investigating) instead of deleting a cookie, set it to value "deleted",
> > so in my code this variable has a value and believes there is a user
> > called "deleted" trying to reauth..... a lot users can't login to my
> > site ater their session times out due to this cause.... My question is,
> > I am dealing with some new bug of explorer or there is a standard I am
> > missing? Should I implement in my code this feature doing with "deleted"
> > cookies? Or maybe it's a php bug? I run php-4.0.4pl1 ....
> >
> > Thanks in advance
> >
> > Nikolai
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to