Looking at the core code, it seems that CookieComponent::write()
doesn't check the return value of setcookie() when it writes values to
the internal array. As such, using CookieComponent::read() will then
return that value, giving the impression that the cookie is set, when
in fact, this might not be the case. It would seem that, at the very
least, the write method should return false in the case that a cookie
cannot be set.

Is the current functionality desired? Does one need to directly use
setcookie()/$_COOKIE when verifying cookie support?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to