Hi I'm developing an application which uses the auth component to do user login etc.
All seems to work fine, I am using the 'controller' based authorization, and using isAuthorized() in the appcontroller and other controllers. The problem I have only seems to happen in IE. Version 7 is the one I am using. (Tested in Firefox and Chrome as well). For some reason, on certain pages, after I have set a message and redirected with something like $this->Session->setFlash(__('The model has been saved', true)); $this->redirect(array('action' => 'index', "somevariable" => $this- >data['model']['id'] )); I see both the message 'The model has been saved' as well as a further message, which is the message set in $this->Auth->authError, so 'You are not authorized to access that location.' by default. The user is still logged in at this stage, and the data has saved fine, and functionality wise it all seems to work, just these odd messages appear when not expected. Any ideas? If it helps at all, I'm defining the following components in app_controller var $components = array('Auth','Security','Session','Cookie'); and securirty is set to 'medium' in the config. Thanks Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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