On 6/25/07, Unite <[EMAIL PROTECTED]> wrote: > > Below is my controller. What I want to do is post the data from page2 > to page3 using a $this->redirect(); Is this possible? Shown in BOLD in > the code is where the redirect is. Page 2 has to post to itself for > error checking but page 3 needs the post details of 2 when no errors. > Is there anyway around it without the use of sessions for example > $this->redirect(tests/page3,$this->data);? Thanks >
You can't pass any data parameters via redirect unless you can put them in the URL. Sounds like you may have to rethink your application flow unless you're willing to use sessions. -- Chris Hartjes Senior Developer Cake Development Corporation My motto for 2007: "Just build it, damnit!" @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
