Very long operations with FastCGI
"Mitch Jackson" <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
I have a long-running operation to spawn from a perl script within the FastCGI environment. I would like the script to cause the user's browser to redirect to a 'view operation status' page, and continue to do the processing of the operation in the background. I see two obvious ways to do this. First using the HTTP header 'redirect: [url]' and the other by writing a page with a meta refresh tag. Once I have written a redirect command to the user's browser, how do I signal to the server and the browser that i'm done sending input, so the server will flush the buffer and deliver the output, and the browser will acknowledge this session has completed and do it's thing, instead of waiting for more output from the web server. Thanks, /mitch ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/