How to find a list of all registered users in CakePHP 2.x?

I use the standard Auth component in CakePHP / MySQL and would like to see all registered users as an administrator. In addition, I would also like to โ€œkick outโ€ users from my session, so their next click on the page will force them to go to the login screen.

In my main configuration, I use cake / tmp for sessions.

0
source share
3 answers

You need to use the database for the sessions: http://book.cakephp.org/2.0/en/development/sessions.html#database-sessions

In this way, you can get a list of sessions and delete them from the administration panel, as you see fit.

+1
source
0
source

All Articles