Browser freeze while ajax call in action
- by kaivalya
I have a ASP.NET Web App. I notice that while a simple ajax call(see below) is in process, web application does not respond to any action that I try on a different browser.
$.ajax({
type: "GET",
async: true,
url: "someurl",
dataType: "text",
cache: false,
success: function(msg){
CheckResponse(msg);
}
});
This happens when I open two firefox or two IE. I run the function that does the ajax call on first browser and till the response of the ajax is returned, I cannot do anything on the second browser on the same site. No breakpoints are hit on the server from the second browser till initial ajax is completed. It hangs for any click etc..
The hang on the second browser ends immediately after the ajax call is completed on the first one.
This behavior is not observed if I try the same on IE and Firefox side by side. Only happen with IE & IE or FF & FF side by side
Appreciate if you can help me see what I am missing here.