Thanks everyone I got it working! and yes security is an issue so I am storing 
the cfc name and function in a struct and then passing in a key (uuid) to 
evaluate the cfc name and function. This is an ajax (JSMX) application where 
its not hard to deduce the cfc and method being used so in my system everything 
goes through one controlling cfc and is then routed according to the data 
stored in the cfcKey struct. The cfcKey Struct also stores a boolean value to 
determine weather the method should be allowed with or without a session id.

<cfinvoke 
component="#application[application.uniqueCFCKey[arguments.x]["cfcName"]]#"
                 
method="#application.uniqueCFCKey[arguments.x]["functionName"]#"
                 returnVariable = "z"
                 argumentCollection = "#arguments#">

Andrew. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287992
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