If the host does disable cfobject, you can get the same effect by using
cfinvoke on a special method in the CFC that returns THIS. That way you
get the instantiated component once, rather than having one
instantiation for every cfinvoke call. 

-----Original Message-----
From: dave [mailto:[EMAIL PROTECTED] 
Sent: Monday, 13 June 2005 5:23 
To: CF-Talk
Subject: Re: best way to invoke a cfc

Thanks Jared,

 the reason I asked is I am back to working on a friends site that I
haven't messed with for awhile and I was creating the cfc objects in the
Application.cfm with <cfobject name="getNewestListings"
component="cfc.newListings">.

 and I was thinking that if at some point the host disables cfobject
then I would be f*cked, it works well but maybe I should be changing
this one now.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209262
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