I also have a script that emails me every time an error occurs on the site.
This is the code used to serve out the file:
<!--- in downloads.cfm, so when someone visits the page they get the
"download file" dialog --->
<cfheader name="Content-Type" value="application/pdf">
<cfheader name="Content-Disposition" value="attachment;
filename=""#myFile#""">
<cfcontent type="application/pdf" file="c:\inetpub\downloads\#myFile#">
This works well except for one thing -- if I cancel the file download, I
receive an error email that looks like this:
"The cause of this output exception was that: java.net.SocketException:
Connection reset by peer: socket write error"
Is there any way around this? I'd like to not get an email everytime someone
cancels the download....
-d
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

