HI
we loading a page through XML load. In our page we have a piece of code which reads the XML and send it back for some reason(old code). It is working fine in Dev, But not working in SIT machines.
The logic is we have a XML in resultXML string, we are spliting it into two half and send it to a page XYZ.asp and sending back to original page.
And in page XYZ.asp below the code
in the first call it is comming into the if loop and second call not comming into the else part it is comming. Why it is happened in SIT machines. It is showing an error in loading the XML. But this is happened in Dev too but it loading Else part successfully.
please help
we loading a page through XML load. In our page we have a piece of code which reads the XML and send it back for some reason(old code). It is working fine in Dev, But not working in SIT machines.
The logic is we have a XML in resultXML string, we are spliting it into two half and send it to a page XYZ.asp and sending back to original page.
Code:
var resultXML1 = resultXML.substr(0,1990);
var resultXML2 = resultXML.substr(1990,3980);
sourceFile = base_url+"XML/XMLXYZ.asp?Position=Start&TranXML="+resultXML2;
source.async = false;
source.load(sourceFile);
sourceFile = base_url+"XML/XMLXYZ.asp?Position=End&TranXML="+resultXML1;
source.async = false;
source.load(sourceFile);
Code:
if Position = "Start" then
Session("TranXML")= ""
Session("TranXML") = TranXML
else
oldxml=Session("TranXML")
Session("TranXML") = TranXML + oldxml
end if
Response.Write "<ROOT/>"
%>
please help
Comment