php - Passing external $_SESSION values into CakePHP framework [CakePHP 4.x]
one text
Solution:
It turns out, even though it is not good practice at all, the $_SESSION was indeed passed into the framework. All you need to do is close the browser and open it again.
Source