Hi, I’m writing a Javascript that uses AJAX to call a Perl CGI script that FTPs files from one server to another. When the CGI script takes < 1 hour to complete, AJAX completes successfully and the HTML results are printed on the Web page.
However, if the CGI script takes > 1 hour to complete, I get an Internet Timeout error “12002”. The timeout on our Apache web server is already set to 2 hours, so I’m sure it’s not the web server problem.
Could it be a timeout setting in Internet Explorer? I’m using IE 6 and I read somewhere that the timeout is 60 mins. I don’t think it’s AJAX or the CGI script that’s causing the problem.
Appreciate advice on this. Any sample code will be very helpful.
Thanks!