Hi Attiks, You are missing a couple of things in your code.
Try this: function beforeFilter () { debug ('AppController__beforeFilter'); //$currentUser = new User($this->Session->read('User')); $this->currentUser = new User($this->Session->read('User')); } And for your group: debug ('currentUser=' . $currentUser->getId()); should be debug ('currentUser=' . $this->currentUser->getId()); Cheers, AD7six Looking for CakePHP info? Find it faster here: http://www.cakephp.org/search/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---