Martin, Looks like I've been banging my head against a brick wall for nothing! Your advice to simply use redirect(), and my semi belief that I couldn't, made me search the group for 'ajax redirect' and I came across the following post
http://groups.google.com/group/cake-php/browse_thread/thread/9af845d69603d9fa/cd40825a7b01d61f?lnk=gst&q=ajax+redirect#cd40825a7b01d61f Which pointed me towards a change request within 1.2 https://trac.cakephp.org/browser/branches/1.2.x.x/cake/libs/controller/components/request_handler.php#L217 So it looks like I should be using redirect() as it has a beforeRedirect() function that checks if the request is Ajax, clears all post variables and uses requestAction() instead. I shall give this a try instead. Thanks, Paul. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
