Happy to be corrected, but I think browser mechanics mean that everything will be lost when you do a redirect. The best solution is to store the stuff you want transferred in the session and retrieve it in the other action. You can also pass small amounts of data as a parameter.
Jeremy Burns Class Outfit [email protected] http://www.classoutfit.com On 27 Dec 2010, at 10:31, Greg Skerman wrote: > Anyone got any idea? sorry if this is a completely newb question... Open to > suggestions if its a downright stupid idea...... > > > > On Mon, Dec 27, 2010 at 12:17 PM, Greg Skerman <[email protected]> wrote: > Yeah that will only work inside the same controller, where I am trying to > hand control from one controller to another..... > > Anyone? > > > On Mon, Dec 27, 2010 at 5:48 AM, huoxito <[email protected]> wrote: > The controller class has a setAction() function which Internally redirects > one action to another. Does not perform another HTTP request unlike > Controller::redirect() but it I guess it only works within the same > controller ... > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" 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 > > > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" 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 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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
