it's the order in which the arguments are passed.
you can also use name/value pairs:
bAuthorized = objSecurity.authorize(user=form.user,groupID=form.groupID);
there's also the argumentscollection struct, which is a handy way to
do it at times.
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:266240
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4