Re: Redirect leaves old URL

2008-01-24 Thread MrTufty
Why does everyone keep beating the dead horse of a wiki? We had one before, when I first got into Cake. Guess what? It wasn't very effective. Outdated articles providing poor solutions to problems that didn't need to be solved. I prefer the Bakery, these groups and the various articles written on

Re: Redirect leaves old URL

2008-01-24 Thread Daniel Moore
I did some further testing and what was happening was that I was redirecting to a page that had a route assigned to it. Here's the situation: User goes to http://apps.face.../messages/post/ //messages_controller.php function post() { // ... Some Stuff // Redirect back to McGriff messag

Re: Redirect leaves old URL

2008-01-24 Thread jonknee
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 in

Re: Redirect leaves old URL

2008-01-23 Thread [EMAIL PROTECTED]
huh, that's really odd, it looks good to me. Maybe it's a facebook thing. Have you tried it on a different server? Also, what happens if you use $this->redirect("/messages/")? I think the url routing is all handled in /webroot/index.php so maybe it doesn't like redirecting to a shallower path? Da