8vius
8vius

Reputation: 5836

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 frontend 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?

Upvotes: 0

Views: 411

Answers (1)

Shaz Ravenswood
Shaz Ravenswood

Reputation: 1835

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

Upvotes: 1

Related Questions