How to prevent a web client from timing out

Bob Kline bkline at rksystems.com
Sun Apr 8 10:47:14 EDT 2001


On Sat, 7 Apr 2001, Steven D. Arnold wrote:

> <html>
> At 03:07 PM 6/5/2000 +0000, aiglauer wrote:<br>
> <blockquote type=cite cite>Not a purely python question, but.....<br>
> <br>
> Can I rig it so that the calculation process will still complete and<br>
> write its output to a file so that I can use it later?  (Writing to a<br>
> file is not a prob - preventing the thing getting slapped is).</blockquote><br>
> If you are producing a report that is basically the same every time, you might have a cron job do the report every morning at 3 am and then simply send a cached copy to the user.  That way, the report should load almost instantaneously.<br>
> <br>
> If you need to be able to do a fresh report every time, you might simply email the report to the user.  Excel can read HTML, so if you send the file with the correct MIME type and extension, the user can double-click it and it will open into Excel.  You could also have it open to a web browser, but for your app, it sounds as if Excel might be more useful.<br>
> <br>
> <br>
> steve<br>
> </html>

Could we dispense with the HTML markup, please?

-- 
Bob Kline
mailto:bkline at rksystems.com
http://www.rksystems.com






More information about the Python-list mailing list