Yes, they are matched up in the order the appear in your function. This is
why you put your required arguments first. If you have say 3 arguments all
of which are not required and you aonly have to pass argument 3 do it like
so


    <cfscript>
           objSecurity = createObject("component","security");
           bAuthorized = objSecurity.authorize("argument3=#form.arg3");
    </cfscript>


On 1/11/07, Richard Cooper <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I've tried to read up on this but can't quite find the confirmations I'm
> looking for.
>
> Can anyone explain how the cfc knows which values to use & where, when the
> code for example, is like this:
>
>      <cfscript>
>             objSecurity = createObject("component","security");
>             bAuthorized = objSecurity.authorize(form.user,form.groupID);
>      </cfscript>
>
> Is it just matched to the order of the cfarguments?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266241
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to