Another alternative would be save the data you need in the other controller to the session using the session component which makes the data available anywhere. You could create a temporary session key, store it there, then when you are done with it, delete the session data.
On Jan 31, 5:42 am, ojonam <manojo10...@gmail.com> wrote: > Hello all, > > I have a flow in which I have a general form (Form 1), which accepts > different types of inputs (each of which is handled by a different > controller). So when I get information from the form regarding the > type of input, I would like to redirect to the corresponding > controller (ControllerA). Form 1 also contains other information in > the POST variable. > > I would like to know how I can redirect to the corresponding > controller, along with the POST variables. The redirect function > unfortunately does not allow to include POST variables ($this->data), > and I am not interested in sending the data as named parameters or > GET. > > I tried applying the solution > athttp://stackoverflow.com/questions/1871592/how-to-make-cakephp-redire... > (using the dispatch function), but the view does not render properly. > > How could I solve this problem? > > Cheers, > ojonam -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php