<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6 - CFML_Reference - Tags-pt118.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-26T05:01:11</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#71156" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#29476" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#21326" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#21306" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#15286" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#15220" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#12306" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#7322" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#4675" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#1435" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#1237" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#305" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#925" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#813" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#676" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#637" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#571" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#464" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#71156">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#71156</link>
		<description>In response to the IE problem above I too had the same problem in an SSL &lt;br /&gt;environment.  Adding the following two lines at the top fixed the problem.&lt;br /&gt;&lt;br /&gt;&lt;cfheader name=&quot;Pragma&quot; value=&quot;&quot;&gt;&lt;br /&gt;&lt;cfheader name=&quot;Cache-control&quot; value=&quot;&quot;&gt;</description>
		<dc:creator>AWKenger</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-07-31T13:11:34</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#29476">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#29476</link>
		<description>This is in response to the issue of  &quot;Internet Explorer cannot download &quot;. I was also only having this problem on our Production server. The only difference between the other environments and our Production environment was it ran SSL. This link explains why this error occurs http://support.microsoft.com/default.aspx?scid=kb;en-us;316431 .</description>
		<dc:creator>stroms1</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-03-10T12:51:12</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#21326">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#21326</link>
		<description>The reset option should not affect HTTP headers generated by cfheader. It only pertains to the html document contents.</description>
		<dc:creator>halL</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2004-09-14T07:36:16</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#21306">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#21306</link>
		<description>People have cfheader above cfcontent in examples above.  Does parameter &quot;reset&quot; in cfcontent wipe out the cfheader output, or does reset pertain only to content in the html document?</description>
		<dc:creator>damion</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-09-13T16:09:25</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#15286">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#15286</link>
		<description>LiveDocs is for documentation comments only and does not receive enough traffic to handle questions such as this. I suggest posting your issue to the online forums: http://webforums.macromedia.com/coldfusion/</description>
		<dc:creator>ASandstrom</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2004-05-24T06:11:40</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#15220">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#15220</link>
		<description>I need help!  I am using cfcontent to serve up different files by passing the file name and mime type from a database.  The problem is that it works fine on Windows 2000, but not on Windows XP (Both running IE6).  When you try to get to the file thru IE6 on a windows xp machine I get an alert box telling me that &quot;Adobe Reader could not open 'pa037525.fdf' because it is either not a supported file type or because the file has been corrupted.&quot;  The string 'pa037525' is different everytime I try to get to a file.  I am not using cfheader on the page.  &lt;br /&gt;&lt;br /&gt;Has anyone else had this problem with Windows XP and cfcontent? &lt;br /&gt;&lt;br /&gt;-Rosario</description>
		<dc:creator>big_web_monkey</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-05-22T16:38:40</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#12306">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#12306</link>
		<description>I am having a similiar problem with cfheader and cfcontent.&lt;br /&gt;On the development servers the tags work fine.   On the production server I get the error message &quot;Internet Explorer cannot download &lt;filename&gt; from &lt;name of server&gt;. Internet Explorer was unable to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later&quot;. Here is the code:&lt;br /&gt;&lt;CFHEADER NAME=&quot;content-disposition&quot; VALUE=&quot;attachment; filename=#Filespec#.xls&quot;&gt;&lt;br /&gt;&lt;CFCONTENT type =&quot;application/vnd.ms-excel&quot; reset=&quot;yes&quot;&gt;&lt;br /&gt;The systems people tell me that both servers are running the same version of ColdFusion MX.  &lt;br /&gt;Any help would be appreciated.</description>
		<dc:creator>cfdawna</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-04-05T06:12:06</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#7322">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#7322</link>
		<description>I'm having a similar problem.  On the production server (CF5) my page displays an excel spreadsheet in the browser.  On two development servers (one CF5, the other CFMX), it tries to download the page and gives the error message &quot;Internet Explorer cannot download &lt;filename&gt; from &lt;name of server&gt;.  Internet Explorer was unable to open this Internet site.  The requested site is either unavailable or cannot be found.  Please try again later&quot;.  Here is the code:&lt;br /&gt;&lt;cfcontent type=&quot;application/msexcel&quot;&gt;&lt;br /&gt;&lt;cfheader name=&quot;Content-Disposition&quot; value=&quot;filename=GetComments.xls&quot;&gt;&lt;br /&gt;&lt;br /&gt;I'm using IE6, not that it matters, since I use the same browser to test all the servers.&lt;br /&gt;&lt;br /&gt;And ideas??  Thanks!&lt;br /&gt;Lisa</description>
		<dc:creator>lmr1010</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-02-04T08:31:22</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#4675">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#4675</link>
		<description>I've used this method successfully on my development server. I'm prompted to save the file using the correct name &quot;DMCReports.xls&quot;&lt;br /&gt;But when I run the same code on my production server, when the client side is prompted to save the file in the File DownLoad window I get the file name &quot;index.cfm?action=RunReport&quot; which is the href for the link to run this report. If I select Open or Save I get an Error stating the file cannot be downloaded. (no wonder with a name like that!). The two servers are running CFMx 6.1, and cfcontent is enabled.&lt;br /&gt;&lt;br /&gt;Does anyone have any ideas why this should work on one machine and not another??? &lt;br /&gt;&lt;br /&gt;the code is :&lt;br /&gt;&lt;cfheader name=&quot;Content-disposition&quot; value=&quot;attachment; filename=DMCReport.xls&quot;&gt;&lt;br /&gt;&lt;cfcontent type=&quot;application/vnd.ms-excel&quot;&gt;&lt;br /&gt;&lt;br /&gt;ps - I've tried flipping the order of the cfheader and cfcontent lines - same issue&lt;br /&gt;&lt;br /&gt;thanks!</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-12-18T11:55:06</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#1435">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#1435</link>
		<description>I too run MX ... here is an example in how I do it:&lt;br&gt;&lt;CFOUTPUT QUERY=&quot;detail_query&quot;&gt;#field1#,#field2#,#replace(field3,&quot;,&quot;,&quot;;&quot;,&quot;all&quot;)##chr(13)#&lt;/CFOUTPUT&gt;&lt;br&gt;&lt;br&gt;The chr(13) is what tells it to go to a new line. The replace will replace commas with semicolons so I don't go to a new column in excel before the end of the field.&lt;br&gt;&lt;br&gt;However, I am trying to find out how to handle a number of blank spaces within a field.  When I have a larger number of repeating spaces in my user defined text excel will start a new row which I am trying to correct. Any ideas?</description>
		<dc:creator>mliving</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-08-22T14:11:04</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#1237">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#1237</link>
		<description>Does this cfcontent  and cfheader work?
I am trying to create an excel spread sheet.  I have followed your example in the CF,
but I don't get new lines.   The data comes out in the first cell.  Also, I am not sure if
I am getting a tab or a space as a separtor per the example.
Does this sound familar?
I am using MX</description>
		<dc:creator>Len</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-08-09T17:01:09</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#305">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#305</link>
		<description>A MAcromedia bug has been entered against the problem reported by faceless.</description>
		<dc:creator>hlichtin</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-03-10T14:36:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#925">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#925</link>
		<description>I've only just started trying to port our application to ColdFusion, but I appear to have hit a minor glitch when setting the content-type to &quot;text/xml; charset=UTF-8&quot;&lt;br&gt;&lt;br&gt;If I set my CFM to this:&lt;br&gt;&lt;br&gt;&lt;cfsetting enablecfoutputonly=&quot;yes&quot; showdebugoutput=&quot;no&quot;&gt;&lt;br&gt;&lt;cfcontent type=&quot;text/xml&quot;&gt;&lt;br&gt;&lt;cfoutput&gt;&lt;?xml version=&quot;1.0&quot;?&gt;&lt;br&gt;&lt;emptytag/&gt;&lt;br&gt;&lt;/cfoutput&gt;&lt;br&gt;&lt;br&gt;It works perfectly and the Content-Type of the returned page is text/xml. If I change the cfcontent line to&lt;br&gt;&lt;br&gt;&lt;cfcontent type=&quot;text/xml; charset=UTF-8&quot;&gt;&lt;br&gt;&lt;br&gt;the Content-Type is suddenly switched back to &quot;text/html; charset=UTF-8&quot;.&lt;br&gt;&lt;br&gt;The reason for this appears to be the calls made by the CfmServlet. In the first example, the calls are:&lt;br&gt;&lt;br&gt;  setContentType(&quot;text/html; charset=UTF-8&quot;)&lt;br&gt;  setContentType(&quot;text/xml&quot;)&lt;br&gt;  setLocale(Locale.US)&lt;br&gt;  setHeader(&quot;Content-Language&quot;, &quot;en-US&quot;)&lt;br&gt;  setLocale(Locale.US)&lt;br&gt;  setHeader(&quot;Content-Language&quot;, &quot;en-US&quot;)&lt;br&gt;  getWriter()&lt;br&gt;&lt;br&gt;whereas with the second, it's&lt;br&gt;&lt;br&gt;  setContentType(&quot;text/html; charset=UTF-8&quot;)&lt;br&gt;  setContentType(&quot;text/xml; charset=UTF-8&quot;)&lt;br&gt;  setLocale(Locale.US)&lt;br&gt;  setHeader(&quot;Content-Language&quot;, &quot;en-US&quot;)&lt;br&gt;  setContentType(&quot;text/html; charset=UTF-8&quot;)&lt;br&gt;  setLocale(Locale.US)&lt;br&gt;  setHeader(&quot;Content-Language&quot;, &quot;en-US&quot;)&lt;br&gt;  setContentType(&quot;text/html; charset=UTF-8&quot;)&lt;br&gt;  getWriter()&lt;br&gt;&lt;br&gt;Note the additional later calls to setContentType.&lt;br&gt;&lt;br&gt;As it happens this isn't a big deal, because the default content-type of XML is UTF-8 anyway, and as ColdFusion defaults to UTF-8 it works. It also only happens with UTF-8 - &lt;cfcontent type=&quot;text/xml; charset=UTF-16&quot;&gt; works fine.&lt;br&gt;&lt;br&gt;In short? If you need to specify a &lt;cfcontent&gt; type of &quot;text/xml; charset=UTF-8&quot;, just use &quot;text/xml&quot; on it's own, it has the same effect.&lt;br&gt;&lt;br&gt;</description>
		<dc:creator>faceless</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-02-26T16:54:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#813">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#813</link>
		<description>I am having CF 4.5. I wanna show dynamic contents on the browser in a excel sheet format and then should be able to download that sheet. I tried the cfcontent tab but its just showing the download window and the it stops. I am actually not able to view the sheet on the browser. Can you help me in this as I have seen this happpen in MX so I dont know whether its possible in CF 4.5.&lt;br&gt;&lt;br&gt;If you can send the code the location where my excelfile should be etc. That will be of great help.</description>
		<dc:creator>sandeep_chheda</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-12-16T03:52:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#676">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#676</link>
		<description>The cfcontent solution to correctly submit special characters in a form does not work completely. The EURO symbol (for the benefit of you guys on the west side of the Atlantic, that's the symbol which represents the currency that most Europeans now carry around in our pockets), causes problems... ie a JRun error. Has anyone come accross this problem yet, and if so, does anyone have a solution?</description>
		<dc:creator>mikv</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-09-10T14:11:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#637">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#637</link>
		<description>Under type, it is listed that the ; delimiter is optional. However, omitting the semicolon makes my IE6 on Windows XP display a &quot;download file&quot; dialogue box instead of displaying the page.&lt;br&gt;&lt;br&gt;The following will correctly format a page using ISO-8859-1:&lt;br&gt;&amp;lt;cfcontent type=&quot;text/html; charset = ISO-8859-1&quot;&amp;gt;&lt;br&gt;&lt;br&gt;I got into this when researching why posting the Norwegian characters Æ, Ø and Å ended up like gibberish (å = &quot;Ã¥r&quot;) when doing a cfdump var=&quot;#form#&quot;. &lt;br&gt;&lt;br&gt;It turned out IE6 auto-detected the encoding as UNICODE (UTF-8), but when posting the page for some reason CFMX does not detect that UNICODE is being posted and tries to read it as something else. Setting the page encoding to ISO-8859-1 is probably a short term solution, but at least it works. I'd be interested in learning why IE6 &amp; CFMX with Norwegian characters produces the mismatch though.&lt;br&gt;</description>
		<dc:creator>sundvor</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-08-15T05:46:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#571">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#571</link>
		<description>Update from Macromedia, in response to h2oman, re cfcontent and attachments:&lt;br&gt;Thanks for your comment and tip. We'll consider adding it to the next release of the documentation.&lt;br&gt;Christina Lamkin, CF documentation team</description>
		<dc:creator>ctina</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-07-19T18:59:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#464">
		<title>coldfusion/6/CFML_Reference/Tags-pt118.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt118.htm#464</link>
		<description>use cfheader name=&quot;Content-Disposition&quot; value=&quot;attachment; filename=filename.ext&quot;&lt;br&gt;to force browsers to save the file as an attachment and with a specific filename.&lt;br&gt;&lt;br&gt;All Mac IE versions (up to and including IE 5.1 for OS9/X) currently ignore the attachment specification. No solution from Microsoft has been made available, nor do they confirm existence of the problem.&lt;br&gt;</description>
		<dc:creator>h2oman</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-06-21T15:17:00</dc:date>
	</item>
	</rdf:RDF>

