Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Ajax call issue on Firefox when server takes long time to process

  • No replies
  • 1 has this problem
  • 1 view
more options

I have a ajax call which calls an batch process on server side. This process will take 20-30 mins to complete. On Firefox the ajax error method is invoking after around 1 hour. When I enable the logs the server side method is completing without an issue. But the ajax success method is not calling. After the server side method complete, ajax call is still active and after some time ajax error method is calling.

Furthermore, I have tried after adding a large timeout to the ajax call. But the result is same. Also when I runs small batch operation(around 2-3 mins). This ajax call is working on all the browsers including Firefox. Also for the same ajax call, when the severer takes long the to process, the browser is initiating a second request with same data. This is causing the server to process same data twice

Ajax Call configurations

async:true type:POST contentType:false processData:false

I have a ajax call which calls an batch process on server side. This process will take 20-30 mins to complete. On Firefox the ajax error method is invoking after around 1 hour. When I enable the logs the server side method is completing without an issue. But the ajax success method is not calling. After the server side method complete, ajax call is still active and after some time ajax error method is calling. Furthermore, I have tried after adding a large timeout to the ajax call. But the result is same. Also when I runs small batch operation(around 2-3 mins). This ajax call is working on all the browsers including Firefox. Also for the same ajax call, when the severer takes long the to process, the browser is initiating a second request with same data. This is causing the server to process same data twice Ajax Call configurations async:true type:POST contentType:false processData:false