I am running ASP Classic on a Win 2008 R2 server.
I have code as follows:
Set xml = Server.CreateObject("Micro
url=url & params
Set xml = Nothing
In the above, params is a conventional querystring (e.g., aaa=111&bbb=222&ccc=333).
calltext, which contains the AJAX responseText, contains the correct response information when printed into a web page or system generated email.
But I cannot perform any logic on calltext. For example, if calltext contains "SUCCESS" as printed out on a web page or automated email, and I try logic like:
<%if calltext="SUCCESS" then
the failure logic gets executed.
I contacted the vendor (the owner of the system I am making the AJAX call to), and they confirmed that they are not performing any conversions of the responseText from ASCII to another encoding scheme.
Does anyone have any ideas? Maybe the responseText property of the XMLHTTP object is not natively in string format, and I need to perform some kind of conversion before ASP Classic can interpret responseText correctly.
Thanks very much,