I think it is not right to be redirected to the referer page and
display the error message on the referer page. This is not what I
would expect when I try to access a certan page.
At first I wanted to be redirected to the login page, because I though
it is the right behavior to give the user the chance to login as
another user.
Now I changed my mind and hacked the auth.php so that it now splashes
the error message to the user (using $controller->flash), waits for 5
seconds and the redirects to the referer page. I think this is the way
for me to go.

Thanks for you help.

Markus


On Feb 1, 9:43 am, djiize <[EMAIL PROTECTED]> wrote:
> Why do you want to be redirected to login since you're already logged
> in?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to