It'll be available to everything on the server if it's at
C:\CFusionMX\CustomTags (or equivalent)
If you want to instantiate, just use
createObject("component","cfcName");
Or, alternatively, you could put it in a folder ala package-style and use:
createObject("component","my.package.folders.cfcName");
With that style, you'd use dots to separate your folder names instead
of (back-)slashes, with no prefix.
Or you can create a custom custom tag folder from within CF
Administrator and do basically the same thing. Adding a new custom tag
folder basically extends the real estate where CF looks for cf_ and
component files.
Laterz,
J
On Mon, 24 Jan 2005 13:28:08 -0500, jonese <[EMAIL PROTECTED]> wrote:
> did you try to put your CFC in your custom tag directory? or create a
> new CFC custom tag directory / mapping?
>
> ERJ
>
> On Mon, 24 Jan 2005 13:20:14 -0500, DURETTE, STEVEN J (AIT)
> <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > Got a quick question for you. I have created a cfc that I want
> > available to all urls on our web server (this is on an intranet). So, I
> > created a directory outside of the webroots and put the cfc there. Then
> > I went into IIS and created virtual directories on each of the websites
> > that points to that directory.
> >
> > Problem is it doesn't work. If I delete the virtual directory and copy
> > the files into a directory of the same name that the virtual directory
> > was everything works fine.
> >
> > I'm trying to reuse this code for all of the sites on my server, but I'm
> > not sure how. I don't want to put a copy in each website because I want
> > one place where I can make changes and it will cascade everywhere else.
> >
> > Thanks for any help you can give.
> >
> > Steve
> >
> >
>
>
>
>
--
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com
http://cfobjective.blogspot.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware: a new and convenient web-based time tracking application. Start
tracking and documenting hours spent on a project or with a client with Logware
today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191557
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