Hello,

I have a jquery HTML page which loads a form.

The form has a bunch of settings, but eventually the form gets
submitted using a post command (see below) which returns and HTML
page which was built by a script running on the server.

This works fine, except when the script runs longer than 5 minutes.
The post command just returns nothing.

I tried using the timeout command in the high level page as follows:

  $.ajaxSetup({cache: false,
               timeout: 18000000 }) ;

But this does not seem to work. Does anyone have a suggestion?


Here is the post command:

    $.post('/cgi-bin/tw_lookup_3.cgi', lookupData, function(data){

          // $('#results').load( prefix + user_name + "/
TW_LOOKUP_RESULTS.html");
          // $('#results a').attr('target','_blank').css
('backgroundColor','#d5e9d7');
             var page = $(data).find('input[name=result_dir]').val();
             $('#results').load( page + "/TW_LOOKUP_RESULTS.html");


             $('#SubmitQuery').attr('disabled',false);
             $('#SubmitQuery').val('Submit Query');
             $('#SubmitQuery').css('backgroundColor','');
             $('#SubmitQuery').css('color','');
    },"html");










Reply via email to