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 #169824 is a reply to message #169821] Mon, 27 September 2010 18:48 Go to previous messageGo to previous message
MikeB is currently offline  MikeB
Messages: 65
Registered: September 2010
Karma:
Member
Michael wrote:
>
> Have a look at the cookie contents with Firefox+Firebug+Firecookie or
> Chrome's Developer Tools.

OK, now this is perhaps not a PHP topic anymore, so if someone know the
right place for this, please tell me.

The cookie I'm struggling with is one named "mbcc" without, of course,
the quotes.

If I search for it in my list of cookies that Firefox has, I find 6
instances of this cookie, for the following sites:

answers.oreilly.com
forums.oreilly.com
localhost
mrsfields.com
oreilly.com
oreillynet.com

The content on each site is different, as is the expiry time.

In all instances the path is "/" (again, no quotes).

So why does the code in the OP not delete this cookie (at least for
localhost where I'm testing)?

If localhost updates the cookie, then the contents of this cookie is not
visible, for instance, on the mrsfields.com site, right?

So the assumption I can make here is that there is some common code
running on oreilly and mrsfields that uses a cookie named mbcc?

But what about localhost? How did the cookie come to be here?

I'm running EasyPHP with Apache, MySQL, and phpMyAdmin as stuff that has
localhost addresses and then of course my own testing.

But even before I created a cookie, this cookie exists. So now I assume
that one of those three products mentioned above creates and uses this
mbcc cookie? Is that right?

When I added the path argument to the setcookie call, the cookie did get
deleted, but now I don't understand, since / is the default path, it
*should* have been deleted on my first attempt?

PS. i did try and google that cookie name, but I got flooded by
irrelevant hits. :(

Confused,
Mike
[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 04:39:34 GMT 2024

Total time taken to generate the page: 0.03411 seconds