> 1) Why are you using application/octet-stream instead of the PDF one? Are
> you going to be using other file types here?

My guess is that his application doesn't keep track of the MIME types
for individual files.

> 2) Why do you have cfabort in your code, this screams bad coding. Cfabort
> means that you no longer want ColdFusion to continue on any more processing.
> Personally I would rewrite the code in a manner that no longer uses the
> cfabort. I know this is not the problem, but that is not what I would
> consider good programming habits.

There is nothing wrong with using CFABORT.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345738
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to