Thursday, November 17, 2011

How works Controller::redirect() in Cake 2.0

Hello everybody,

i try to create a login for my webapp which is based on JQuery Mobile.
Therefore Jquery loads every page via ajax also the result of the
login redirect. But this is a cross controller redirect so that the
setAction not possible is.

Is now somewhere a new method to redirect with ajax or is this (http://
bakery.cakephp.org/articles/sunertl/2006/12/17/redirects-with-ajax)
one the best practise?

If it is, how is it working. Why should I add the prefix /ajax/?? I
don't understand it.

Thanks for your response.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate