Well, ideally you should'nt be doing an invoke every time you call the CFC.
The best way to do this is to have the CFC instantiated into a persistent
scope, then you can can just call the methods as often as needed without
taking the performance hit of the invoke.

you can also do it this way, assuming your formfields are named the same as
your arguments

myCFC.myMethod(Duplicate(Form));

This will properly send all of the form fields to the method in a fairly
thread safe manner.


If you are going to reset all those vars why bother with argcollectin?..just
> type out your invokeargs...you've almost done that anyway ;-)




--
> Alan Rother
> Macromedia Certified Advanced ColdFusion MX 7 Developer


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232638
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to