I'm trying something I thought would be simple:  use cfcontent to control 
access to a word document.

I have this:

<cfcontent file="d:\myTestDocument.doc" type="application/msword" 
deletefile="No">

But when I run the page, I get something that looks like the raw text 
(binary) of the document.  I've tried things like this:

<cfheader name="Content-Disposition" VALUE="inline;filename=myfilename.doc">
<cfcontent file="d:\myTestDocument.doc" type="application/msword" 
deletefile="No">

but that doesn't change anything.  I've tried CF 4.5.1 and CF5 on Win2k -- 
both behave identically.  Any ideas?

Thanks,

Gregory M. Saunders, Ph.D.
Cognitive Arts Corporation  (http://www.cognitivearts.com)
1840 Oak Avenue, 4th Floor
Evanston, IL 60201-5914
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to