FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Deleting cookies
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Deleting cookies [message #169821 is a reply to message #169820] Mon, 27 September 2010 17:36 Go to previous messageGo to previous message
Michael is currently offline  Michael
Messages: 9
Registered: September 2010
Karma:
Junior Member
On 9/27/2010 11:58 AM, MikeB wrote:
> As I understand it, detting and deleting cookies has to be done *before*
> any other text or headers are sent to the browser.
>
> So, should this example delete all cookies that my session can see?
>
> There is one cookie that seems to live beyond this, and I can't figure
> out why.

Do all of the cookies have the same path parameter? I believe all
arguments to setcookie() when unsetting must be supplied as they were
supplied when the cookie was created. That includes, the domain, path,
and https.

Have a look at the cookie contents with Firefox+Firebug+Firecookie or
Chrome's Developer Tools.
--
Michael
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Route/Link to an action works with http, but NOT with httpS (SSL!)
Next Topic: Re: OT SSL Certificate
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 06:39:02 GMT 2024

Total time taken to generate the page: 0.04929 seconds