I need to assign the http header to export a document to excel from the web.

 

Here's an example from another programming language. I assign a variable
called "httpHeader" and it changes the http header to an excel document. How
can I do the same thing in Cold Fusion?

 

HTTP/1.0 200 OK<@CRLF>Content-Disposition:
attachment;filename=mydoc.xls<@CRLF>Content-Type:
application/msexcel<@CRLF>Cache-control: private<@CRLF><@CRLF>

 

Thanks,

 

Rick Sanders

Webenergy

www.webenergy.ca

 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332568
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to