Re: \"deleted\" cookie
| From: | almir | Date: | Tue, 20 Mar 2001 11:59:24 +0000 |
| Subject: | Re: \"deleted\" cookie | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44728@lists.php.net to get a copy of this message | ||
set its valu to nothing , or expiery date to yesterday
the best is both
-almir
"Nikolai Vladychevski" <niko@isl.net.mx> schrieb im Newsbeitrag
news:3AB6928B.4FA2B38B@isl.net.mx...
> bdrexler@mail.precisionwd.com 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 <niko@isl.net.mx> 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: 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
> > >
>
> --
> 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
>