Ajax connection time out on firefox & Edge

一世执手 提交于 2019-12-25 04:13:30

问题


I am calling a method in server side using ajax. This server side method is a batch operation and it takes around 20 - 30 mins to complete. When I run the web site on Chrome everything works fine. Bur on Edge and 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 and Chrome.

Ajax Call configurations

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

来源:https://stackoverflow.com/questions/52860265/ajax-connection-time-out-on-firefox-edge

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!