Monday, November 24, 2008

Re: calling exit() after redirect STILL redirects

On 25 Nov 2008, at 06:34, _Z wrote:

> However when the form is submitted to login, they are instead
> redirected back to the register view.


That means your register form AND login action both work fine? Only
after logging in the user goes back to the register view?

By default the Auth component (if that is what you're using) redirects
to the last page the user was on after a successful login. And since
the user just came from the register form, he's being redirected back
to it, only logged in this time. Might that explain it?

--~--~---------~--~----~------------~-------~--~----~
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: