I see. Thanks a lot!
On Apr 8, 4:45 am, Miles J <[email protected]> wrote: > You are not able to use Components in models. The best is to import > the session component. > > App::import('Component', 'Session'); > $Session = new SessionComponent(); > > $user = $Session->read('Auth.User'); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
