Friday, March 26, 2010

Need AJAX to terminate and reload entire page

I'm using AJAX to update part of a page. On occasion, however, the
user may make a change that necessitates reloading the entire page,
not just the elements that are used with the AJAX call.

If I do a redirect in the controller, it reloads the entire page into
the ajax element. Is there a way in the controller to either force a
reload of the entire page, or to send an AJAX response back that would
do so?

Thank you very much for your help.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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

To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: