Pfft, never ever heard that you display then use cfabort. Sorry but you not
going to ever convince me that cfabort is a good thing in any way shape or
form, except for debugging purposes. I can show you many ways to rewrite it
and be more efficient without using cfabort.


Regards,
Andrew Scott
http://www.andyscott.id.au/



> -----Original Message-----
> From: Claude Schnéegans <schneeg...@internetique.com> [mailto:=?ISO-
> 8859-1?Q?Claude_Schn=E9egans <schneegans@interneti=71?= =?ISO-8859-
> 1?Q?ue.com=3E?=]
> Sent: Tuesday, 28 June 2011 11:02 PM
> To: cf-talk
> Subject: Re: application.cfm
> 
> 
>  >>That’s what cfthrow and cfrethrow are for.
> 
> No.
> This is to trigger an execution error in the system.
> This kind of errors are not to be reported to the user.
> 
> If all you want is to warn the user he has done something wrong, you just
> need to display some message in the returned page and that's it.
> Ex : "You entered an invalid date"... then abort!
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345830
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to