1

私たちは職場で融合チャートを使用しており、xmlを使用してチャートのデータとスタイルを設定しています

機密性の高い可能性があるため、データをキャッシュしたくありません。これは、Firefox を除くすべてのブラウザで問題ありません...

これを行っているのはなぜ Firefox だけなのでしょうか。

なぜ人々はいまだに FLASH の使用を主張するのですか!?!? なんと!

4

1 に答える 1

0

これを試してキャッシュを停止してください

chart1.setDataURL(escape("xmlfile.xml?currTime=" + getTimeForURL()));
/**
  * getTimeForURL method returns the current time 
  * in a URL friendly format, so that it can be appended to
  * dataURL for effective non-caching.
*/
 function getTimeForURL(){
 var dt = new Date();
 var strOutput = "";
 strOutput = dt.getHours() + "_" + dt.getMinutes() + "_" + dt.getSeconds() + "_" +    dt.getMilliseconds();
  return strOutput;
 }
于 2013-02-03T10:17:06.453 に答える