Thursday, November 27, 2008

Re: calling exit() after redirect STILL redirects

Hi Rafael,

I have this set as:
$this->Auth->loginRedirect = array('controller' => 'users',
'action' => 'index');

and the problem still persists without deleting that key. :s

Thanks for the input!

On Nov 27, 12:45 pm, Rafael Bandeira aka rafaelbandeira3
<rafaelbandei...@gmail.com> wrote:
> > Deleting this key solved the problem.
>
> instead of deleting the session key, why don't you set the right url
> on AuthComponent::$loginRedirect?
>
> $this->Auth->loginRedirect = array('controller' => 'user', 'action' =>
> 'info');
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

No comments: