> 2) if the user doesn't have the appropriate privs, raise an error in 
> the proc, and catch that with cftry/cfcatch in coldfusion. Since you 
> can assign an error number and message (RAISE_APPLICATION_ERROR in 
> pl/sql) which will then be available to your cf code through cfcatch.
> message, you can distinguish between a security error and an other 
> database error.

Thanks for everyone's ideas. We've gone with raising an error in the stored 
proc, and handling it in CFTRY/CFCATCH. That's working well.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224533
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to