i have one more question i am trying to serve a pd...
# lucee
g
i have one more question i am trying to serve a pdf file in browser but this script is not doing anything
Copy code
<cfheader name="Content-Disposition" value="inline; filename=#uploadedFile#">
							<cfcontent type="application/pdf">
p
try swap
inline
to
attachment
g
i tried that and even tried reading the file using readbinary and serve with cfcontent type but here is what i see
Interestly I use cfpdf to write to a temp directory and then served it again and all seems well