Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet explorer 7 and caching

Status
Not open for further replies.

ro6er

Programmer
Jul 1, 2003
76
I've been testing on ie7 and it always caches the flash on the following site when you change from "weddings" to "Products"


I know this is something flash is known to do but whats odd is it works fine on every other browser just ie7.. Any ideas?
 
I've tried the following which didn't work :(

<META HTTP-EQUIV="Expires" CONTENT="Mon, 04 Dec 1999 21:29:02 GMT">
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE" />
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="Expires" CONTENT="-1">
 
Solved it. I found the following on a forum:

the deal is to randomize the xml loaded everytime

eg: xmlTodo.load("laminas/"+numeroLamina+".xml?bola=" + Math.random());

that way the flash is forced to look for the new version of the xml because there is no other called like that.!!

Roger
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top