<cfcatch type="Any"><!--- do nothing ---></cfcatch>
> Never _ever_ do that! Well I wouldn't normally do it that way, but CFLDAP doesn't return an empty query like a SQL query would; if the user authentication fails, it just throws an error. So my calling page receives the same thing it would receive if the authentication were against a sql database, that being an empty table... I don't know if that's justification or not though. > If you want to get the user's information, I would do that in a separate method I actually already modified it to return a Boolean and was going to ask - where would my retrieveUser function live? If I have authenticate.cfc, which I've modified to call cfldap.cfc instead of tying LDAP to my authentication function, should retrieveUser be a part of authenticate.cfc? A different component altogether? ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
