cferror and cftry Together


<cferror> and <cftry> Together

If you use a <cftry>/<cfcatch> block to catch an exception, the <cferror> tag does not do its job and fails to redirect processing to the error template. The <cftry>/<cfcatch> block makes it seem that an exception did not occur. In essence, the <cftry> "overrides" the <cferror>.



Macromedia ColdFusion MX 7 Certified Developer Study Guide
Macromedia ColdFusion MX 7 Certified Developer Study Guide
ISBN: 0321330110
EAN: 2147483647
Year: 2004
Pages: 389
Authors: Ben Forta

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net