HTTP Authentication

Hey,

I was just wondering if there was a way to specify basic authentication parameters in the http headers used in loadXML or setXMLAutoLoading.



Thanks,

Michael Gordon

There is no any built in support for such solution, but you can modify code of dhtmlxcommon.js

dhtmlxcommon.js , line 107
dtmlXMLLoaderObject.prototype.loadXML

this.xmlDoc.open(postMode?“POST”:“GET”,filePath,this.async);
this.xmlDoc.setRequestHeader(“Name”, “Value”);   // any necessary headers can be described here