On a shared server, it's important to ensure that a unique name is used. If you have a mapping or a custom tag path, putting a unique directory name in the calling path and then using the dotted notation (e.g. myuniquename.somecfc) helps. If not, you have to rely on the default searching mechanism and hope it gets the right one, so prefacing the CFC filename with your account name may help (e.g. myaccountname_somecfc.cfc).
As for DreamWeaver, you could cache the cfc in the application scope, if that's appropriate, so that it is only instantiated once when you change it (but then when you do change it you have to manually delete it from the application scope again). Of course this has implications on a shared server when the code goes live, in that anyone on that server has access to your application scope if they want it. -----Original Message----- From: dave [mailto:[EMAIL PROTECTED] Sent: Sunday, 12 June 2005 8:19 To: CF-Talk Subject: best way to invoke a cfc is see a lot of ppl on here using different ways to invoke a cfc, any best practices? (on a shared server) the one thing i am really tired of is having the files on a local dev puter and having the cfc's to be called with the live settings and dw choking for a few minutes while it looks for component (while in code view), anyway around that that's practical? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209236 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54