Hi,
My problem is when I open 2 time the same URL, the script return the same response but the web page has been change.
code:
function getScore(){
ajax = new ActiveXObject("Microsoft.XMLHTTP");
ajax.open("GET",url, true);
ajax.onreadystatechange = getReturn;
ajax.send(null);
}
Someone know how I can refresh the URL ?
Thx
I found this but i don't try yet :
code:
function getScore(){
ajax = new ActiveXObject("Microsoft.XMLHTTP");
ajax.open("GET",url, true);
ajax.onreadystatechange = getReturn;
ajax.setRequestHeader("Cache-Control", "no-store, no-cache, must-revalidate");
ajax.send(null);
}