Cool thanks, I'll have a look at it when I get back into work. If I do a forward are the original values from the request still accessible?
ta Brian jasonistaken wrote: > > As far as I know, you do not have to serialize arrays or objects if you > pass them as a parameter to > _forward(). > > The _forward() method does not create a new HTTP request, it just bounces > the current request object > around within the dispatching process. > > sinkingfish wrote: >> Hi, >> >> I am looking to pass an object (zend_form to be exact) between 2 actions >> and >> am wondering is there a best practice or even a facility in zend >> framework? >> >> I'm considering 3 ways : >> 1. make the object a class variable and access using $this >> 2. Serialize the the object and pass it as an a parameter in the >> _forward() >> method. >> 3. make it a global variable. >> >> Just wondering did anybody have any thoughts on this. >> >> Brian > > > -- View this message in context: http://www.nabble.com/Passing-an-object-between-actions.-tp20960215p20963784.html Sent from the Zend Framework mailing list archive at Nabble.com.
