Hmm. It probably is a FaceBook thing like David said, see here:

http://facebook-developer.net/2007/11/27/implementing-a-simple-facebook-redirect-with-cakephp/
"In Facebook, redirecting the end user cannot be performed with a
standard redirect call as in the above example. Trying to do so will
instead redirect the Facebook Platform itself, having it search for
FBML output at whatever URL is specified in the redirect call. The end
user will still end up at the same page without being redirected,
being served the FBML output that your application sends to the
Platform."

It provides a solution. I'd give that a shot.

-Jon

On Jan 23, 6:52 pm, Daniel Moore <[EMAIL PROTECTED]> wrote:
> Hey,
>   I'm moderately new with CakePHP, but I have this issue where my
> redirect leaves the old URL in the browser.
>
> [code]
> //messages_controller.php
> function post() {
>     // ... Some Stuff
>
>     // Redirect back to McGriff messages
>     $this->redirect("/");}
>
> [/code]
>
> Yet the browser still shows:http://apps.facebook.com/mcgriff/messages/post/
> instead of:http://apps.facebook.com/mcgriff/
>
> Any suggestions?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to