Rick Root wrote: > On 10/5/07, Jochem van Dieten <[EMAIL PROTECTED]> wrote: >> Shouldn't the query throw an exception if the username and password are >> incorrect? How are you handling that exception? > > Yes, the query throws an exception... I've got try/catch around it. > > The problem is, the single attempt at running the query in coldfusion > sends 6 authentication requests to the mainframe when attempting to > establish the connection for that specific username and password.
What happens if you remove the try/catch? After or before the query CF is probably trying to retrieve metadata through additional queries and a different exception handling strategy might prevent that. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290294 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

