Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_perl thread: Set CGI Timeout


Message #1 by danielwatts@c... on Thu, 19 Sep 2002 15:36:16
Hi,

Just a follow up. Seems to me that the equivalent is:

set_time_limit(600); 		#for say a 10 minute timeout.

However I get the following error:


CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:


Undefined subroutine &main::set_time_limit called at
e:\domains\pidgeme.com\user\htdocs\cgi-bin\atpmail\program\bg_check.pl line
21.


Can anyone interpret that? i thought that this function would be inbuilt to
PERL.
Thanks
Dan


-----Original Message-----
From: bounce-pro_perl-1178267@p...
[mailto:bounce-pro_perl-1178267@p...]On Behalf Of
danielwatts@c...
Sent: Thursday 19 September 2002 15:36
To: Pro_Perl
Subject: [pro_perl] Set CGI Timeout


Hi,

I have a problem. I am using a script to check my POP account.
Unfortunately my web hosting company has set a rather strict default CGI
Timeout limit so that I cannot download my emails without the script being
prematurely terminated.
Since it is a shared server they will not change this default however they
said there is a way in PERL to specify this timeout manually within the
script itself which will override this default.
The server is a IIS 5.0 on Windows 2000.

I could **really** use some help!!
Thanks kindly,

Daniel Watts


  Return to Index