I think I have found an error in Cajax function "redirect_to",

I have changed the content as follow, and it works.

$js="window.location.href='$url'";

/* return $this->_enclose($url,$enclose);*/      --> this did not work

return $this->_enclose($js,$enclose);

is there a based function to transform a "cake url" i a complete url (
http:168.x.x.x./cake/controller/method ??

Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to