http://www.perlmonks.org?node_id=60239

Jonas has asked for the wisdom of the Perl Monks concerning the following question:

I don't know if this is really a Perl question, but here it goes anyway.

Is there a way to change the amount of time the browser waits for response from a page/script? I think right now most are set at about 2-3 minutes until they give you the "Couldn't find http://www.blah-blah.com" message.

I'm needing it to change this because one of the scripts on my site does some major data crunching for all data the users have entered that day. It could take 45 seconds, or it could take 5 minutes. It just depends on the amount of work done in the web tool. I'm needing this so in the middle of the script call it doesn't crap out and close the connection to our datawarehouse.

setTimeout won't work because the time varies and I don't want the tool to wait for 5 minutes no matter the amount of data changed. Doing a redirect won't work either due to security issues.

Thanks in advance,
j