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 #169851 is a reply to message #169823] Tue, 28 September 2010 13:37 Go to previous messageGo to previous message
Michael is currently offline  Michael
Messages: 9
Registered: September 2010
Karma:
Junior Member
On 9/27/2010 1:19 PM, MikeB wrote:
> 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...

It sounds like you've got the mystery cookie sorted out and are
beginning to understand better in your other thread. But, yes - there
are additional cookie parameters not readable in the $_COOKIE
superglobal. $_COOKIE only contains key=>value pairs since the client
browser is responsible for determining which domain and path a cookie
should be sent in the first place. PHP doesn't need to know the paths &
domains since the web server should never receive the cookie for an
invalid domain or path.

But if you set the cookie yourself, then you know the correct domain &
path to unset it.
--
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: Sat Oct 19 21:26:04 GMT 2024

Total time taken to generate the page: 0.04672 seconds