Re: Ajax call with external redirect doesn't work

2009-10-14 Thread Dr. Loboto
AJAX proxy works other way. You call your proxy action via AJAX, this action call other server via cURL and output result. On Oct 14, 10:59 pm, "marco.rizze...@gmail.com" wrote: > Hi > I must do a ajax call to an external site. > I use a proxy to circumvent the Same Origin Policy. > My action-co

Ajax call with external redirect doesn't work

2009-10-14 Thread marco.rizze...@gmail.com
Hi I must do a ajax call to an external site. I use a proxy to circumvent the Same Origin Policy. My action-controller proxy is: function proxy($url) { $this->redirect($url,301,true); } In my view when I do the ajax call I get the error : Error: Http:Controller could not be fo