Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Is CGI.pm my best choice?

by fuzzysteve (Beadle)
on Dec 04, 2001 at 23:16 UTC ( [id://129412]=note: print w/replies, xml ) Need Help??


in reply to Is CGI.pm my best choice?

  1. I think its generally the browser that controls the timeout. You can keep it running by continuing to pass data to it (print some characters occasionally. possibly in a comment) the server can deal with it, but unless its all the server does it's probably not a great idea increasing the timeout. if you do it'll affect all the other pages as well.
  2. have the cgi-script act as a bootstrap for the actual script that does the work (exec the program. rather than system; if the cgi script is terminated (the browser is closed) the children would be killed.) (i think)
  3. Hmm, havn't read much about mod_perl, probably worth using if you use the script a lot, otherwise , i'm not so sure.

Take a look at Detect Stop Button for preventing timeouts. Its not the primary focus of the node, but its mentioned

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://129412]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found