Jump to content

Stop ALL ajax processes


mysterbx

Recommended Posts

Please note this untested

 

The problem is "probably" that when you send a request your replacing ajax_start with the new one thus

ajax_start.abort() only stops the last one

maybe try

var ajax_start= new Array();

function doajax()
{
ajax_start[ajax_start.length]=new ActiveXObject("Msxml2.XMLHTTP");
}
function killall()
{
for (i=0;i<ajax_start.length;i++)
{
ajax_start[i].about();
}
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.