This won't work on a windows host, but If you you can pass all of the proper
variables as arguments, You can try executing the task in the background via
shell in postDispatch.

Just append "&" to the end of the command.

system('php -f /path/to/file.php var1 var2 &');

It may not work on a share host either, though :)


On Sun, Feb 8, 2009 at 9:48 AM, Ashley McConnell
<[email protected]>wrote:

>
>
>
> keith Pope-4 wrote:
> >
> > The thing that springs to mind is using the postDispatch on either the
> > Front Controller or the Action Controller
> >
> >
>
> Hi Keith,
>
> Thanks for the reply - I did try that actually, but it seems to run before
> the connection to the client is closed.  I tried a sleep(5) in there and
> the
> page took around 5 seconds to fully load, whereas without the postDispatch
> it was almost instant.
>
> All the best,
> Ash
>
> --
> View this message in context:
> http://www.nabble.com/Continue-Processing-after-an-action-is-completed-tp21900147p21900748.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
A.J. Brown
web | http://ajbrown.org
phone | (937) 660-3969

Reply via email to