admin api login error handling

2008-10-28 Thread Dana Kowalski
I've never really used the admin api until today. I'm having a problem catching a bad login. I tried wrapping the instantiation/login in a try catch, but it seems to be ignoring the catch. Is there any easy way to catch a bad admin api login? I'm not seeing anything in the docs or examples I've

Re: admin api login error handling

2008-10-28 Thread Wil Genovese
Try this cfset variables.thepassword = 'your password' cfset variables.isLoggedin = createObject(component,cfide.adminapi.administrator).login(adminPassword=variables.thepassword) cfdump var=#variables.isLoggedin# The result is True or False Wil Genovese On Tue, Oct 28, 2008 at 3:36 PM, Dana

Re: admin api login error handling

2008-10-28 Thread C S
I've never really used the admin api until today. I'm having a problem catching a bad login. I tried wrapping the instantiation/login in a try catch, but it seems to be ignoring the catch. Is there any easy way to catch a bad admin api login? I'm not seeing anything in the docs or

Re: admin api login error handling

2008-10-28 Thread Dana Kowalski
Thanks fellas. That was pretty silly. I didn't think hard enough about it I guess haha. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial