Thanks Miles. I have placed my code in a beforeFilter() controller (not AppController) and works fine now !
On 17 Feb, 22:05, Miles J <[email protected]> wrote: > Is it in your beforeFilter()? Try placing it in your AppController > beforeFilter(). Thats where I place mine and it works smoothly. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
