Groups | Blog | Home
all groups > flash data integration > april 2005 >

flash data integration : XML & LoadVars Caching in IE


perry
4/21/2005 12:00:00 AM
in your asp, send a header "Expires:-1" (0 won´t work with microsoft
products)

perry

"bob bernard" <webforumsuser@macromedia.com> schrieb im Newsbeitrag
news:d46upj$2j9$1@forums.macromedia.com...
[quoted text, click to view]
question_lv.load("http://........../index.asp?userNum="+uNum+"&username="+uN
ame
[quoted text, click to view]

bob bernard
4/21/2005 1:14:27 AM
Hi

I'm loading in an .asp file as a LoadVars(), i've also tried it as an XML
Object.
My problem is when i go to request the file again it's caching it even though
its requesting .../index.asp?=userNum (which is a random number)..... so it
should get a new string from the server but it just caches it

i've tried the com.communitymx.CacheManager but to no avail

this is v urgent, i'm pulling my hair out
if anyone can help, pleeeaase

Cheers
Andy :confused;


Here's the code, basically ranNum is just so i can see the number changing, &
textBox is to view the data


function questFunc() {
uNum = Math.round(Math.random()*999999);
uName = "test"+uNum;
question_lv = new LoadVars();
question_lv.onLoad = function() {
ranNum.text = uNum;
textBox.text = this.toString();
};

question_lv.load("http://........../index.asp?userNum="+uNum+"&username="+uName
+"&qnum=1");
}
AddThis Social Bookmark Button