home Links Articles Books Past Meetings Photos SiteMap
The MDCFUG is sponsored by TeraTech. Visit us at www.TeraTech.com

Please send
comments/questions to


CFC’s (cont’d)

CFC’s (cont’d)

  • Writing CFC’s


    <cffunction name="authenticate" access="public" output="false">
    <cfargument name="user" type="string" required="true"/>
    <cfargument name="passwd" type="string" required="true"/>
    <cfquery name="checkAuthentication" datasource="SecurityDB">
    SELECT username
    FROM Security
    WHERE username = ‘#arguments.user#’
    AND password = ‘#arguments.passwd#’
    <cfif checkAuthentication.recordCount>
    <cfreturn checkAuthentication.user/>
    <cfreturn false/>

Previous slide Next slide Back to first slide View graphic version

Home | Links | Articles | Past Meetings | Meeting Photos | Site Map
About MDCFUG | Join | Mailing List |Forums | Directions |Suggestions | Quotes | Newbie Tips

Copyright © 1997-2019, Maryland Cold Fusion User Group. All rights reserved.
< >