It looks like problem with concurrent access to session files.
Standard advice in all such cases - try to set lower security level.
Actually, I don't know how can it help, but it is really common
advice.
Other advice - choose session storage engine that works better with
concurrent requests.

On Apr 2, 10:57 pm, Andreas Müller <amuel...@muebits.de> wrote:
> Hello,
> I have some issues with two CakePHP (current stable version)
> applications regarding Auth.
>
> When a user is logged in and loads multiple pages simultaneously, he
> gets logged out. This happens for example when he follows a hyperlink
> while the page is still loading or if he hits "F5" twice.
>
> Furthermore, the user receives the message: "You are not authorized to
> access that location."
>
> This is the code from my App_Controller:
>
>         function beforeFilter(){
>
>                 Configure::load('settings'); // My application configuration
>
>                 $this->Auth->loginAction = array('controller' => 'users', 
> 'action'
> => 'login');
>                 $this->Auth->autoRedirect = false;
>
>                 $this->Auth->loginError = Configure::read('Auth.LoginError');
>                 $this->Auth->authError = Configure::read('Auth.AuthError');
>
>                 $this->Auth->authorize = 'controller';
>         }
>
>         function isAuthorized() {
>                 return true; // For testing!
>         }
>
> It seems that the app cannot process multiple requests in the same
> session at the same time. But it should, to my view.. :-)
>
> Does somebody of you have a clue, why this could happen or where to
> start searching?
>
> Thanks and greetings from Kiel/Germany,
> Andreas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to