|
Posted by a on 02/19/06 07:37
>
> If you know how long the process will take send a redirect header with the
> apropriate timeout, then send content. flushing as neccessary.
>
> 1% complete
> 2% complete
> 3% complete etc...
The duration of the background process is not known, it can take seconds,
minutes, or even longer. It all depends on the parameters that the user has
submitted.
>
> True asynchronous feedback requires separating the "background process"
> from
> the web server process and providing a way for them to communicate (eg
> writing status info to a file)
This the way things work now, but I couldn't find a way to make the php
scripts perform the following tasks concurrently:
1. monitor the status of the background process
2. give feedback to the user
3. react to other user commands such as cancel or back in the browser
Thanks,
A
[Back to original message]
|