Using middlewares to detect sessions from Cakephp

Posted 3 years ago by angelorigo

Hi

How can middlewares be used to detect, in specific routes, if there is an active session from cakePHP?

My goal is to extract the user id from CakePHP session and them force the Laravel Login and Laravel Sesison as i am migrating module by module a CakePHp app to laravel.

Please sign in or create an account to participate in this conversation.