As some other developers noted, Verisign went down over the weekend and 
at a VERY inopportune time. While the error script I had in place 
notified me of the issue and I was able to address it, I want to expand 
the site's capabilities to handle any future timeout and non-response 
issues when dealing with Verisign.

Currently, I use a standard error template to handle any exceptions 
defined via a standard call to:

<cferror type="EXCEPTION" template="error.cfm" mailto="#request.notify#">

The error.cfm template in turn:

- Logs an entry into the application log
- Does a standard <CFCATCH type="Any">
- Sends me an email
- Presents a nice error page to the user

In this specific situation, ColdFusion timed out (not Verisign) so the 
CF error trapper caught that exception and presented the user with a 
nice error page.

What I want to do is take it a step further so that if my Verisign call 
times out, I can override the handling of the ColdFusion timeout error, 
set a flag letting the script know that the request timed out, let the 
script continue processing and save the order in a "Not Authorized" 
status. This would allow the order to go through (thus not losing a 
sale) and our customer service team to process the transaction manually.        

I *only* want to do this for a CF timeout and on this specific page. Any 
other exceptions would still be handled by the error.cfm template.

I'm not quite sure how to do it and was hoping to get some guidance.

Thanks,

Rey...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270224
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to