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 #169823 is a reply to message #169821] Mon, 27 September 2010 18:19 Go to previous messageGo to previous message
MikeB is currently offline  MikeB
Messages: 65
Registered: September 2010
Karma:
Member
Michael wrote:
> 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.

OK, so that implies that there is a parameter (attribute) of a cookie
that is NOT in the $_COOKIE variable that is required to know before one
can delete a cookie? Hmm...

Thanks.
[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: Sat Oct 19 23:16:53 GMT 2024

Total time taken to generate the page: 0.05015 seconds