that should be: logged in users can not* access the login page. As I´m here again anyway:
1) It´s not really a good idea to define a general method and include specific exlusions - hence the suggestion to override in the specific circumstance. 2) a new controller instance is created for each request. Note that a new instance of the appController is never* created in normal circumstances - an instance of your specific controller is created, which inherits it´s behaviour and methods (if not overriden) from the appController, which inherits it´s behaviour and methods (if not overriden) from the controller defined in the cake libs. You can know where a page request came from the referrer ($this->referrer(DefaultUrlIfNoReferrer);) Cheers, AD7six * AFAIK error messages (missing controller etc.) use an instance of the appController. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
