cfcontent and press the "Cancel" button in the IE save file dialog box:
"The cause of this output exception was that: java.net.SocketException:
Connection reset by peer: socket write error"
If I choose to save or open the file, everything is fine. Here's the code:
<cfset filename = GetFileName(attributes.documentid)>
<cfset serverFilename = attributes.documentid & ".pdf">
<cfheader name = "Content-Disposition" value = "attachment;
filename=#filename#">
<cfcontent type="application/pdf"
file="#request.documentsDir#\#serverFilename#" deletefile="No">
Thanks for any tips!
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

