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
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
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
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
4 matches
Mail list logo