> If the credentials are correct, the user is logged in and it should be
> redirected to the 'start' page. If it's not, the php execution is
> terminated with die() and outputs some error messages. With the Form
> Plugin I will handle that error messages and display them to the user,
> this is working fine. The only problem is that the redirect is not
> quite working. I remain at the login page, but the user was
> successfully logged int, cause when I refresh, I'm redirected to the
> 'start' page. The redirect is just not working when I submit the login
> form for the first time when the user credentials are correct.
>
> I don't know how better can I explain this...


I'm sill not entirely sure what your intent is, but I'll say this:
redirecting an ajax request is not going to cause your page to
navigate to the redirect location.  It's going to cause that request
to return the contents of the redirect uri.  And what you do with that
response is dependent on the implementation of your js callbacks.  So
what does your success callback do?

Reply via email to