Has anybody experienced the following? The below Get request is called
when a button on the page is clicked:
function GetTranscript(){
var oSend = new ActiveXObject("Msxml2.XMLHTTP.3.0");
oSend.Open("GET", "transcript.aspx", true);
oSend.onreadystatechange = function() {
if (oSend.readyState == 4) {
alert(oSend.responseText);
}
}
oSend.send(null);
oSend = null;
return false;
}
The page transcript.aspx returns the current date, i.e.
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
Response.Write(System.DateTime.Now.ToLongTimeStrin g());
Response.End();
}
The first call through xmlhttp works great. Subsequent calls return
the same exact time.
HELP! Dont know what else to do.
dead in the water,
Tom