RE: cfabort question
Why not redirect instead of aborting? -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Sunday, January 15, 2006 7:22 PM To: CF-Talk Subject: cfabort question OK, if I'm doing something like this (CF 5) ]+%>!=",form.firstName,1) NEQ 0) > I'd like to show a custom page if the "cfabort" fires, but I'm not 100% sure how to do that... ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229661 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfabort question
You would have to do a cflocation or a cfinclude to show the custom page and use logic to make sure the rest of the page does not execute. CFAbort will only stop the execution of the page. Eric -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Sunday, 15 January 2006 19:22 To: CF-Talk Subject: cfabort question OK, if I'm doing something like this (CF 5) ]+%>!=",form.firstName,1) NEQ 0) > I'd like to show a custom page if the "cfabort" fires, but I'm not 100% sure how to do that... ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229655 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
Re: cfabort question
Michael E. Carluen wrote: > Unsure if I understood your question correctly, but why don't you just use > cflocation? Cflocation aborts the processing of the page automatically > before it relocates to your custom page. I thought about that as soon as I sent the email. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229648 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
RE: cfabort question
Unsure if I understood your question correctly, but why don't you just use cflocation? Cflocation aborts the processing of the page automatically before it relocates to your custom page. -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Sunday, January 15, 2006 5:22 PM To: CF-Talk Subject: cfabort question OK, if I'm doing something like this (CF 5) ]+%>!=",form.firstName,1) NEQ 0) > I'd like to show a custom page if the "cfabort" fires, but I'm not 100% sure how to do that... ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229647 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
re: cfabort question
]+%>!=",form.firstName,1) NEQ 0) > ~Dave the disruptor~ google will pay you money to getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ From: Les Mizzell <[EMAIL PROTECTED]> Sent: Sunday, January 15, 2006 8:25 PM To: CF-Talk Subject: cfabort question OK, if I'm doing something like this (CF 5) <[^>]+%>!=",form.firstName,1) NEQ 0) > I'd like to show a custom page if the "cfabort" fires, but I'm not 100% sure how to do that... ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229645 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
Re: cfabort question
Les Mizzell wrote: > OK, if I'm doing something like this (CF 5) > > ]+%>!=",form.firstName,1) NEQ 0) > > > I'd like to show a custom page if the "cfabort" fires, but I'm not 100% > sure how to do that... cfthrow a custom exception. If you already outputted something you will need to use a cfcontent reset on the handler page. Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229642 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
cfabort question
OK, if I'm doing something like this (CF 5) ]+%>!=",form.firstName,1) NEQ 0) > I'd like to show a custom page if the "cfabort" fires, but I'm not 100% sure how to do that... ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229641 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54