logo       

Ajax and Rails to manage long running server process (and file download)?: msg#00142

lang.ruby.rails.spinoffs

Subject: 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise