Hello all :)

I need a litle help about CakePHP and AJAX.

I'm creating an application by using CakePHP and ExtJS.

I already have create the login script tha work perfectly.

I can feel the login form, send the data to CakePHP via $_POST and
then Auth makes all the important thinks to login.

The problem is that all that thinks are happens thru AJAX.

As I see with the Firebug the XHR is the following :

POST login                  302 Found
GET Users                   200 OK

But the application is not redirected to index action of the Users
controller.

How can I redirect after login in Index action of the Users
controller ? ? ?


Also if after login type by my self the address to the index action I
can see the Index, witch mean that the user is already logged in.

Kind regards
Merianos Nikos
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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