|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
cfcontent to serve PDF files hanging
Author: Stephen Hardesty
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61862#344401
Jason,
I am experiencing a similar problem. Did you ever find out exactly what was
causing yours?
thanks,
Stephen
----- Excess quoted text cut - see Original Post for more -----
Author: Jason Fill
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61862#336740
Thank you for the ideas. We are going to change the mime/type and also add some
I/O logging to see if we can find a correlation there. Should we find the issue
I will certainly post back.
Thanks for the time!
Jason
----- Excess quoted text cut - see Original Post for more -----
Author: Mark A. Kruger
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61862#336678
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
Good call I think Jake...
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, Jas
----- Excess quoted text cut - see Original Post for more -----
Author: Mark A. Kruger
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61862#336676
Good call I think Jake...
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, Jas
----- Excess quoted text cut - see Original Post for more -----
Author: Jake Churchill
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61862#336674
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, Jas
----- Excess quoted text cut - see Original Post for more -----
Author: Jason Fill
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61862#336672
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
|
May 24, 2012
|
Latest Fusion Authority Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||