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 found.

If I call directly the action "proxy" it works correctly.
It seems that CakePHP can't do  ajax call external.
Is it correct or I do some mistake?
Many Thanks

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to