Store the data needed for further processing in some persistent queue and use
a cron job to poll the "further processing queue" on regular intervals.

- Steve W.


Ashley McConnell wrote:
> 
> Hi Folks,
> 
> I would like to be able to call an action / respond to the client and then
> continue on with some further processing.
> 
> I have tried a couple of things: -
> 
> Using fork: -
> http://www.php.net/manual/en/function.pcntl-fork.php
> 
> This doesn't work on my windows installation and i'm not sure it will be
> enabled on my hosting.
> 
> Using a headers hack method:-
> 
> http://www.brandonchecketts.com/archives/performing-post-output-script-processing-in-php
> 
> This seems to work the first time, but not the next time you call it.
> 
> Register Shutdown function
> http://uk2.php.net/register_shutdown_function
> 
> This doesn't work at all - it just blocks until the "other processing" is
> finished.
> 
> Is there anything that works with the Zend Framework? Any other ideas?
> 
> Thanks for your help
> All the best,
> Ash
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Continue-Processing-after-an-action-is-completed-tp21900147p21908043.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to