Auth logout behavior issue
I have Auth login system, and It is working fine - user don't have
problem login/logout
However, I want to change one thing. I don't want to session to
remember where user log off.
When user login as soon as logout then a user is brought back to where
user logoff
EX)
When user log off let's say page X then because of
Auth setting, user is brought back to login page. Then as soon as user
logout and login again.
A user will be taken to page X but every time user login I want user
to see page A.
I set to like this:
$this->Auth->loginRedirect = array('controller' => 'users', 'action'
=> 'index');
but this setting is only working when browser is fresh, not after user
logoff and login again in same browser.
How can I change the behavior?
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home