Do you have a question? Post it now! No Registration Necessary. Now with pictures!
April 16, 2011, 12:24 am
rate this thread
these action later.
What I am planing is to serializa user's http_request object into
database and then later, user zend_front controller to dispatch this
request. It sounds feasible at least. This is what I did:
Step 1. Saving request object:
$str = serializa($this->_request) in controller A and then save it
into database as string
later I use
$request = unserialize($retrievedString) to get this http request back
$frontController = Zend_Controller_Front::getInstance();
$dispatcher = $frontController->getDispatcher();
$response = new Zend_Controller_Response_Http();
to replay this request.
But I got error. it seemed the $request can not be successfully
restored back. The $request is not an zend_controller_request object
Can anyone tell me how to succesfully serialize