Hi,
I wondered if someone can help me here
I am using windows.XmlHttp to send a request inside DNN and a XMod module using JavaScript , Below is the code I am running
var emailURL = "http://urladdress.com?p1=param1&p2=param2";
var xmlhttp2=null;
if (window.XMLHttpRequest)
{
xmlhttp2=new XMLHttpRequest();
}
else if (window.ActiveXObject)
{
xmlhttp2=new ActiveXObject("Microsoft.XMLHTTP");
}
if (xmlhttp2!=null)
{
// xmlhttp2.onreadystatechange=state_Change;
xmlhttp2.open("GET",emailURL,true);
xmlhttp2.send(null);
}
As you see I don't need callback function because of the nature of the request so I commented this out
This works perfect in FireFox and every continious request to the same page will be sent successfully. But in IE7 it works only for the first time and any other hits won't be sent unless I clear the cache or go to other pages and wait for 10 or 15 minutes. This is quite randon in IE7 but the first hit just after clearing the cache will work. I mean if the above function get called many times in the same page on same button click.
In IE Windows.XMLHttp object doesn't work unless clearing the cashe??
I wondered if anyone can help me as this is really anoying and we have gone through the route of DNN/XMod and end of the project we found this nasty error
PLEASE HELP!
Regards
Behnam