Phil,

You can create a CF mapping that points to your data directory ... Say
'cfclib' ... And then use it as in:

Component="cfclib.cfcfilename"

Keep in mind that a CFC outside the web root is going to be innaccessible
via Ajax or remoting (of course you could extend it using a component inside
the web root making only the access="remote" methods available).

-Mark


-----Original Message-----
From: Phillip Vector [mailto:[email protected]] 
Sent: Thursday, September 24, 2009 9:49 AM
To: cf-talk
Subject: cfc's above the webroot


I would like to store my CFC's above my webroot (../Data/cfc to be precise).
Do I need any special coding to show this?

<cfinvoke component="CFCFILENAME.CFCCOMPONENT" method="CFCFUNCTION"
returnvariable="RETURNVARIABLE"></cfinvoke>

It seems to me cfc's MUST be on the webroot for this to function correctly.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326569
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