kwangmin82 Report post Posted August 5, 2010 Hi, I am building charts under PHP/MySql environment. Following function is the one I am using for drilldown. [p] function updateCharts(year) { //Update the checkboxes present on the same page. var i; //Iterate through all checkboxes and match the selected year for (i=0; i if(parseInt(document.frmYr.year.value,10)==year){ document.frmYr.year.checked = true; }else{ document.frmYr.year.checked = false; } } //NoCache="+Math.floor(Math.random())+"& if (incidentLoaded) { RN=Math.floor(Math.random()*9999999999); var strURL = "../seracharts/Data_IncidentComparison.php?noCache="+RN+"&year=" + year; strURL = escape(strURL); var chartObj = getChartFromId("IncidentComparison"); chartObj.setDataURL(strURL); }else{ alert("Please wait for the charts to load..."); return; } } [/p] What 'Data_IncidentComparison.php' does is simply generate XML file. I just attached noCache parameter after the URL as suggested by other topic. But doesn't work for me. I just started from the function given by FusionChart and working perfectly in all browsers except for IE. Even in IE, if I open the page in localhost(http), it runs well. But once I upload to the public-site(https), the error shows up 'Error in loading data.' Any suggestion?? Cheers Min Share this post Link to post Share on other sites
Ayan Pal Report post Posted August 5, 2010 Hi Min, In IE flash can't reade data if browser didn't cache it. for https bydefault server set header not to cache it. So to do so, set the following headers for your XML Data provider page: Cache-Control: cache, must-revalidate Pragma: public, you may refer to the link: http://www.fusioncharts.com/docs/Contents/SSL.html Share this post Link to post Share on other sites
kwangmin82 Report post Posted August 6, 2010 Hi, Thanks. HUGE HELP!! Min Share this post Link to post Share on other sites
Sanjukta Report post Posted August 6, 2010 Hi Min, You are welcome. Glad that your issue is resolved. Happy FusionCharting! Share this post Link to post Share on other sites