Different types of user sessions in CakePHP
I'm developing an app with CakePHP and in my app I have an admin section that us under Cake's Auth and it's associated, and I also have my fr开发者_高级运维ontend that should have another Auth session for regular users, how can I manage this? Or would I have to make my own registering and login methods for my regular users?
It might be worth using CakePHP's ACL component - you can specify permissions quite easily on which user/group can access which controller/action.
http://book.cakephp.org/view/1543/Simple-Acl-controlled-Application
精彩评论