ON the other hand... I would expect a mime/type problem to result in an error on the browser - not a hanging request, unless of the course the "hanging" is the browsers cycling through choices to figure out how to display the file.
How may files are in the directory in question? Do you perhaps have an I/O problem? Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -----Original Message----- From: Mark A. Kruger [mailto:mkru...@cfwebtools.com] Sent: Tuesday, August 31, 2010 11:13 AM To: cf-talk Subject: RE: cfcontent to serve PDF files hanging Good call I think Jake... -----Original Message----- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: Tuesday, August 31, 2010 11:02 AM To: cf-talk Subject: Re: cfcontent to serve PDF files hanging The only think I could think of is use application/pdf for the Content-Type (that is technically the correct mime type). -Jake On Tue, Aug 31, 2010 at 10:33 AM, Jason Fill <jasonf...@gmail.com> wrote: > > Our application uses cfcontent to serve back some PDF files and several > times per day, the request for a pdf will just hang, like 300,000 + > milliseconds to bring back a PDF that is already created. > > The code we are using is quite simple and each users file is fully > generated before this call is made. > > <cfcontent reset="true" /> > <cfheader name="Content-Type" value="pdf"> > <cfheader name="Content-Disposition" value="#type)#; > filename=#userid#_file.pdf"> > > Has anyone ran into this before or have any ideas what might be going on? > > Thanks > > Jason > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336678 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm