Cheeze wrote:
> Appreciate the update. It'll help other people as well.
>
> Just wanna check with you - by 'setting the cookie to domain wide root
> path' do you mean you set the cookie in AppController?

No. One can do it in any controller, I'd imagine. Basically you need to
specify the fourth and fifth paramenter such as :
setcookie (cookiename, cookievalue, time, '/', 'domain name');

The fouth parameter being the root directory.

My earlier mistake was I left the fourth and fifth parameters, in which
case the cookie will be visible to the current controller.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to