Not addressing your specific situation directly, but to catch specific
errors, I start by reproducing the error and then looking at CFCatch scope
via <cfdump var="#cfcatch#">. Pay careful attention to cfcatch.message,
.detail, and .statusCode. I saw on EasyCFM that you can test for
isDefined("cfcatch.mimeType"); haven't tested to confirm.
-- 
Billy Cravens

On Thu, Jul 30, 2009 at 2:12 PM, Mark Davis <[email protected]>wrote:

>  hey gang,
>
> I have some pages where users upload photos and resumes.  The mime types
> allowed are limited to standard stuff.  The page  is wrapped in a try/catch,
> that currently logs everything to one certain log file.  We get a lot of
> "errors" where the user is trying to upload an exe as a photo and crazy
> stuff like that.  I want a specific cfcatch type="" to catch only those
> errors for mime type exceptions, handle those one way, then catch everything
> else and handle a different way.  I have the everything else, but I am
> having issues figuring out the mime type catch.  anyone?  thanks
>
>
>
> *Mark Davis **| Developer*
> **
>
> **
> .........................................................................................................................
>
> Round Table Group, Inc.
>
> (281) 717-4575
>
> [email protected]
>
> www.roundtablegroup.com
>
>
> .........................................................................................................................
>
> * *
> [image:
> https://www.roundtablegroup.com/secure/staff/emailSignature/RTG_logo.bmp]*
> *
>
> *The Leading Authority in Expert Witness Search & **ReferralTM***
>
>  CONFIDENTIALITY NOTE: This e-mail, and any attachments thereto, is
> intended only for use by the addressee(s) named in the message originated by
> me and may contain legally privileged and/or confidential information. If
> the reader of this message is not the intended recipient, you are hereby
> notified that any dissemination, distribution or copying of this
> communication is strictly prohibited. If you have received this email in
> error, please notify me immediately by telephone and permanently delete the
> original and any copy of the email, and any printout thereof. Thank you.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en
-~----------~----~----~----~------~----~------~--~---

<<inline: image001.gif>>

Reply via email to