Robert Everland III wrote:
> I have a question for everyone. I have a ton of CFC's that I need to use in a
> bunch of applications. All of the applications are off a folder /secure (this
> is protected with https). How would I go about being able to share all of my
> common cfc's? I use createobject to create them, but I can't go back one
> directory (or can I?) Putting the common cfc's in memory is not an option
> because each application has it's own cfapplication, though I guesst I could
> put them in server scope, though then I will get into the whole issue of how
> to check if the cfc exists in memory and then how would each application call
> the cfc if it's one level back.
create a mapping /common/ = /path/to/folder/secure
then you can do createObject("component","common.myComponent")
I think ;)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232690
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