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.asp x", true);
oSend.onreadyst atechange = function() {
if (oSend.readySta te == 4) {
alert(oSend.res ponseText);
}
}
oSend.send(null );
oSend = null;
return false;
}
The page transcript.aspx returns the current date, i.e.
private void Page_Load(objec t sender, System.EventArg s e)
{
// Put user code to initialize the page here
Response.Write( System.DateTime .Now.ToLongTime String());
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
when a button on the page is clicked:
function GetTranscript() {
var oSend = new ActiveXObject(" Msxml2.XMLHTTP. 3.0");
oSend.Open("GET ", "transcript.asp x", true);
oSend.onreadyst atechange = function() {
if (oSend.readySta te == 4) {
alert(oSend.res ponseText);
}
}
oSend.send(null );
oSend = null;
return false;
}
The page transcript.aspx returns the current date, i.e.
private void Page_Load(objec t sender, System.EventArg s e)
{
// Put user code to initialize the page here
Response.Write( System.DateTime .Now.ToLongTime String());
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
Comment