﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts Free / General Usage  / FusionCharts over https in IE / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Tue, 02 Dec 2008 07:04:46 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: FusionCharts over https in IE</title><link>http://www.fusioncharts.com/forum/Topic5033-40-1.aspx</link><description>Hi,&lt;P&gt;You need to use the code in f1.jsp, you also need the following code along with the above.&lt;FONT size=2&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;System.IO.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#008080 size=2&gt;Stream&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt; rs = myHttpWebResponse.GetResponseStream();&lt;BR&gt;&lt;FONT color=#008080 size=2&gt;XmlDocument&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; xmlDOC = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;XmlDocument&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;();&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;xmlDOC.Load(rs);&lt;BR&gt;string xml=&lt;FONT size=2&gt;xmlDOC.OuterXml.Replace(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;'"'&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;'\''&lt;/FONT&gt;&lt;FONT size=2&gt;));&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;Now the XML string contains strings with Line Feed &amp;amp; Carriage Return, so you have to remove those from the XML &amp;amp; after getting the XML use &lt;FONT face="Courier New"&gt;setDataXML&lt;/FONT&gt; method to render the chart.&lt;BR&gt;You have to replace "URL to fetch" with the URL that is generating the XML, for the above case it should be replaced with &lt;FONT face="Courier New" color=#5555dd&gt;&lt;A href="http://domain_name/ScrollAreaData.jsp"&gt;http://domain_name/ScrollAreaData.jsp&lt;/A&gt;,&lt;/FONT&gt; and &lt;FONT face="Courier New"&gt;urlDomain&lt;/FONT&gt;&lt;FONT face=Verdana&gt; should be replaced by the domain name.&lt;BR&gt;Please also note that the above example code is written in C#.&lt;/FONT&gt;</description><pubDate>Thu, 31 Jul 2008 00:08:16 GMT</pubDate><dc:creator>Rahul Kumar</dc:creator></item><item><title>RE: FusionCharts over https in IE</title><link>http://www.fusioncharts.com/forum/Topic5033-40-1.aspx</link><description>Hi Rahul,&lt;/P&gt;&lt;P&gt;Thank you very much for the example code. I have the following code in f1.jsp:&lt;/P&gt;&lt;P&gt;      &amp;lt;div id='chartdiv' align="center"&amp;gt;&lt;BR&gt;         The chart will appear within this DIV. This text will be replaced by the chart.&lt;BR&gt;      &amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;script type="text/javascript"&amp;gt;&lt;BR&gt;                   var chart = new FusionCharts("../../FusionWidgets/ScrollArea2D.swf", "ChartId", "580", "300", "0", "0");&lt;BR&gt;                   chart.setDataURL("ScrollAreaData.jsp");&lt;BR&gt;                   chart.render("chartdiv");&lt;BR&gt;      &amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;Could you tell me how do I put those 2 pieces of code together? I am thinking what should I replace the "URL to fetch" with, should I replace it with "ScrollArea2D.swf", or "ScrollAreaData.jsp", or "f1.jsp"?&lt;BR&gt;</description><pubDate>Wed, 30 Jul 2008 13:08:05 GMT</pubDate><dc:creator>new2fc</dc:creator></item><item><title>RE: FusionCharts over https in IE</title><link>http://www.fusioncharts.com/forum/Topic5033-40-1.aspx</link><description>Hi,&lt;P&gt;Please use &lt;FONT face="Courier New" color=#008080&gt;NetworkCredential&lt;/FONT&gt; class from &lt;FONT face="Courier New"&gt;System.Net&lt;/FONT&gt; namespace, and use the following method to pass the username &amp;amp; password (Credential) to the domain.&lt;/P&gt;&lt;P&gt;Example Code:&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color=#008080 size=2&gt;&lt;FONT color=#117711&gt;// Creates object with username, password &amp;amp; Domain.&lt;/FONT&gt;&lt;BR&gt;NetworkCredential&lt;/FONT&gt;&lt;FONT size=2&gt; myCreds = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;NetworkCredential&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;({username}, {password}, urlDomain);&lt;BR&gt;&lt;FONT color=#117711&gt;// Sets the location URL, that is to be fetched.&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color=#008080 size=2&gt;HttpWebRequest&lt;/FONT&gt;&lt;FONT size=2&gt; myHttpWebRequest = (&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;HttpWebRequest&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;WebRequest&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;.Create({URL to fetch});&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT face="Courier New"&gt;// Sets Credentials&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;myHttpWebRequest.Credentials = myCreds;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT face="Courier New"&gt;// Now final stage to call the URL&lt;BR&gt;// Send the 'HttpWebRequest' and wait for response. &lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color=#008080 size=2&gt;HttpWebResponse&lt;/FONT&gt;&lt;FONT size=2&gt; myHttpWebResponse = (&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;HttpWebResponse&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;)myHttpWebRequest.GetResponse();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This might solve your need.&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 29 Jul 2008 23:42:07 GMT</pubDate><dc:creator>Rahul Kumar</dc:creator></item><item><title>RE: FusionCharts over https in IE</title><link>http://www.fusioncharts.com/forum/Topic5033-40-1.aspx</link><description>I encoutered exact the same problem. My observation is that if the page requires login, no matter it is http or https, we're going to see this issue on IE, both IE6 and IE7 (Didn't test on other IE versions, but I guess it is the same). &lt;/P&gt;&lt;P&gt;Did anyone here actually see FusionCharts work on IE if the page (that contains the "setDataURL" statement) requires login autentication? If yes, please help out. &lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Tue, 29 Jul 2008 21:09:29 GMT</pubDate><dc:creator>new2fc</dc:creator></item><item><title>RE: FusionCharts over https in IE</title><link>http://www.fusioncharts.com/forum/Topic5033-40-1.aspx</link><description>Can the problem be that I can't load the swf file in IE on https?&lt;br&gt;&lt;br&gt;Because It looks like the browser never reads form the XML page. When I try a system.println before and after the headers I get nothing. Like if the flash component never even starts reading the xml file. This works well in firefox and I get the both printlines.&lt;br&gt;&lt;br&gt;Anyone that knows what the problem is?</description><pubDate>Fri, 14 Mar 2008 03:38:45 GMT</pubDate><dc:creator>jodde</dc:creator></item><item><title>FusionCharts over https in IE</title><link>http://www.fusioncharts.com/forum/Topic5033-40-1.aspx</link><description>I have read the article about FusionCharts over SSL, http://www.fusioncharts.com/KB/article.aspx?id=10091&lt;br&gt;&lt;br&gt;but I still can't get it right.&lt;br&gt;&lt;br&gt;I've changed my headers to:&lt;br&gt;Cache-Control: cache, must-revalidate&lt;br&gt;Pragma: public&lt;br&gt;&lt;br&gt;like this:&lt;br&gt;&lt;br&gt;		response.setContentType("text/xml");&lt;br&gt;		response.setHeader("Cache-Control", "cache, must-revalidate");&lt;br&gt;		response.setHeader("Pragma", "public");&lt;br&gt;&lt;br&gt;in my jsp page that prints out the xml data. I get access to the page in Internet Explorer but I cannot get the javascript code (with the dataUrl method) to read and download the xml.&lt;br&gt;&lt;br&gt;I get a "movie not loaded" error instead. It works well in other browsers like Firefox.</description><pubDate>Wed, 12 Mar 2008 09:52:33 GMT</pubDate><dc:creator>jodde</dc:creator></item></channel></rss>