Ok this is a repost cuz of stinkin’ DreamHost.
If you have an auto-generated iframe from a javascript, and this iframe has dynamic data, FireFox (but not IE) wll cache your data. Even if you have
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
After days of pulling out my hair (or what little I have left), i found out the only way around this is by calling this in your JavaScript:
iframe.src = iframe.src;
This basically forces the browsers to reload. Not the most efficient solution but it works. Also, I haven’t tested to see if I could remove this with FireFox 3 coming out but no matter. The rest of the world is gonna take 1-2 years to download FF3 anyway.
PS: Hairloss is not due to masturbation. Thank god for that.
No related posts.
hello, I have the same problem,
do you have full code about this ?
thanks.
Hey Alien Y.
I basically posted the solution.. read again
I have a similar issue, only my iframe is dynamically passing data to the parent frame. Any idea how I can prevent the iframe from passing that data before it is loaded.
QDawg: You can try “onload” function within the iframe.
I experience the same with FireFox 3, even with the src refresh/force. But the weird thing is enable Firebug (a Firefox add-on) and the problem goes away. But can’t expect any regular visitors to install Firebug. I guess Firebug does alter the data loading sequences. Any clue?
Thanks so much! I modified thickbox to deal with this
thickbox.js around like 197:
}else{//iframe modal
$(“#TB_overlay”).unbind();
$(“#TB_window”).append(” “);
// fix for firefox iframe caching
var iframe = $(“#TB_iframeContent”)[0];
iframe.src = iframe.src;
}
Dear God, thank you for taewoo
yes, i am sent from God.