> I have a *.cfm template that I want to just spit out text and be
> interpreted by the browser to be just text.
> 
> I'm assuming I need to change the header "Content-type:" from
> "text/html" to "text/plain". Can I do this and if so how?

You can use the CFCONTENT tag to do that. Here's an example:

http://www.figleaf.com/demo/mimetest/

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to