What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Resolved] AJAX cache problem

[Resolved] AJAX cache problem
Author: Message:
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
O.P. [Resolved] AJAX cache problem
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);
}

This post was edited on 08-12-2006 at 02:06 AM by Huhu_Manix.
08-12-2006 01:53 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Resolved] AJAX cache problem - by Huhu_Manix on 08-12-2006 at 01:53 AM
RE: [Resolved] AJAX cache problem - by matty on 08-12-2006 at 02:52 AM
RE: [Resolved] AJAX cache problem - by Huhu_Manix on 08-12-2006 at 12:14 PM
RE: [Resolved] AJAX cache problem - by alexp2_ad on 08-12-2006 at 01:12 PM
RE: [Resolved] AJAX cache problem - by Huhu_Manix on 08-13-2006 at 07:02 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On