Cakephp brings me to the login page for several requests

On my cakephp based site, when I execute multiple requests at the same time, cakephp logs me out of the system.

What happens exactly

I click one of the links on my site to open it in a new tab, now that the request is being processed, if I click another link on my site, cakephp will lead me to the login page for this link ... What could be this solution?

Thank...

+1
source share
1 answer

I would argue that this is your problem:

 * CakePHP session IDs are also regenerated between requests if
 * 'Security.level' is set to 'high'.
 */
    Configure::write('Security.level', 'high');

You are having problems with the fact that Cake regenerates the cookie for two requests at the same time.

+2
source

All Articles