Stuart Hungerford
2005-Nov-29 04:12 UTC
Ajax and Rails to manage long running server process (and file download)?
Hi, I have a Rails application running where clients can initiate through their browsers fairly long-running server processes. At the end of the long-running server process the results are downloaded as a separate file. Currently I''m handling this via "refresh" HTTP headers in the various pages and a Rails send_file() call when the process is complete. I''d like to see how well this setup can be implemented with Ajax to update part of a page with job progress feedback and also to download the completed file. Can someone point me to some Ajax examples of this kind of thing (or the right places to start looking at documentation)? Cheers, Stu
Reasonably Related Threads
- send_file doesn't work with Apache?...
- Can I send a redirect_to() call to a periodically_call_remote() refresh?
- send_file using AJAX
- Can I send a redirect_to() call to a periodically_call_remote() function?...
- 2005 a send_file odyssey (or Rails and Apache don''t always play well)...