On 7/16/07, yitzle <[EMAIL PROTECTED]> wrote:

I'm thinking of writing a CGI script that someone can pass some data
and set it running. The script may take a few seconds to run.
Is it safe/correct/OK to have a CGI script fork, with one thread
respondng with a HTTP response while the other thread does its work?

Randal did something similar in this column:

   http://www.stonehenge.com/merlyn/WebTechniques/col20.html

In Randal's case, the user eventually gets a page saying that the
background process has finished its task. If your user won't want to
see the results, you could omit that part.

Cheers!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to