well I was thinking that on a shared server it probably wouldn't be a real good 
idea to create an object out of it (just in case they take that way for 
security) and the dreamweaver one doesn't add it correctly, was just curious 
what ppl are using, since I see quite a lot of diff techniques.

~Dave the disruptor~
"A criminal is a person with predatory instincts who has not sufficient capital 
to form a corporation." 

----------------------------------------
From: "James Holmes" <[EMAIL PROTECTED]>
Sent: Saturday, June 11, 2005 10:55 PM
To: CF-Talk <[email protected]>
Subject: RE: best way to invoke a cfc 

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:209238
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

Reply via email to