Say you are using the Cookie component, and place this in your
beforeFilter().
function beforeFilter() {
$this->Cookie->name = 'COOKIE';
}
If you import the component like so, the above setting WILL NOT be
applied to the imported cookie component, so you will get mixed
results.
App::import('Component', 'CookieComponent');
$Cookie = new CookieComponent();
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---