[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-WebCGI] how to prevent time-out with slow outputstream



>I have  a MacPerl CGI (running under MacOS 9, QPQ2.1) that sanns a
>number of files for patterns and generates a dynamic web-page with
>the result. As long as the number of files to scan is relatively
>small everything works fine.  However, when I screen about 2500 files
>the CGI takes about 1 min to generate the output. I set the server
>time-out to 300 sec which should be enough but usually the clients
>time-out much earlier. Is there a way to prevent this?

Christoph -

One site that has a similar problem is http://tom.cs.cmu.edu/ You upload a
file, and it converts it to another specified format. This can be slow, so
it outputs "Still working..." every 10 seconds. This is good, since it
reassures the user that something is happening. Otherwise the user will
think the request has failed and hit the stop button.

John

--
mailto:jneale@webshowcase.net
http://www.webshowcase.net/johnneale



==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org