dhtmlxAjax issue with long URL's & IE7

I’m observing an issue with IE7 and dhtmlxAjax. If I create a URL that contains a really long parameter and try to send it via dhtmlxAjax, it appears to work with Firefox 3.0.8, but not with IE7. (Haven’t tested IE8)

Right now, I’ve created my own code to push the long parameter in 1000 character long chunks (which I store on the server side) but it would be nicer if the below example worked for IE7. Currently the below example fails on the dhtmlxAjax.getSync call.

Any ideas on this?




// Code copied from dhtmlx examples

function outputResponse(loader) {

if (loader.xmlDoc.responseXML != null) {

alert(“XML Response\n\n” + loader.doSerialization());

} else if (loader.xmlDoc.responseText != null) {

alert("Text Response = " + loader.xmlDoc.responseText);

} else {

alert(“Response contains no XML or Text”);



// Called when the user clicks on the Process Job,

function onProcessJobButton() {

// Works for Firefox, but not IE

sLong = “”; // empty string

s = ‘abcdefghijklmnopqrstuvwxyz1234abcdefghijklmnopqrstuvwxyz1234abcdefghijklmnopqrstuvwxyz12340123456789\n’;

// Make sLong 4000 characters long

for (var i = 0; i < 40; i++)

sLong += s;


var loader = dhtmlxAjax.getSync(“AjaxTestLargeDataPush?longString=” + sLong);

alert(“Long Request sent”);




You can try to use POST instead of GET in this case:

dhtmlxAjax.postSync(“AjaxTestLargeDataPush”,“longString=” + sLong);