tags:

views:

68

answers:

1

hello friends,

On my cakephp based site, when i do multiple requests simultaneously, cakephp logs me out.

What happens exactly is,

I click on one of the link on my site, to open it in a new tab, now, while the request is being processed, if i click another link on my site, cakephp takes me to the login page for this link... What can be the solution for this?

Thanks...

+2  A: 

I would bet 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're running into problems with Cake regenerating the cookie for two requests simultaneously.

deceze
Awesome!!!!!! that actually worked.... thanks deceze..
tecks