I have just started a real project using CFC's, and I have had some
difficulties with where to put them.  So I'm turning to the knowledgeable
group here to full in the gaps in the documentation.  The best home for a
CFC seems to be the Custom Tag directory, when I've put them there on my
development machine, they were accessible everywhere I needed them.  But, my
first project is going to live on a hosted, shared server at a web hosting
company.  I don't have ready access to the Custom Tag directory on this box.
As an alternative, according to my understanding of the documentation, a CFC
can live in the website root, or any directory accessible from it.  This
works - sort of.  If I put the CFC in the root, all other CFM files in the
root can access it, but files in subdirectories of the root can not!  I
actually had to put a copy of the CFC in each folder in order for it to be
accessible to files in that folder.

This, obviously, is not very desirable.  What I would like to know, am I
missing something here?  Is there some way I can use, or someplace I can put
my CFC file where it is accessible by all my files in all my directories of
my website?  Other then the Custom Tag folder, which I already know works,
but would like to not use, if possible.

Ian Skinner
Web Programmer
Blood Source
Sacramento, CA



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to