开发者

Different types of user sessions in CakePHP

开发者 https://www.devze.com 2023-03-19 19:55 出处:网络
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 sess

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

0

精彩评论

暂无评论...
验证码 换一张
取 消