I wouldn't trust that due to CFs caching.

CF WILL do this (look through the web root) but once it finds a CFC it
caches that location and doesn't look any longer... so the likelihood in a
shared environment is that you'll end up using somebody else's
"security.CFC" unless you adopt a wacky naming standard (and then you're
just hoping somebody doesn't use your components on the same server if you
distribute them)

Jim Davis

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Ian Sheridan
> Sent: Wednesday, May 26, 2004 8:20 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [CFCDev] component extends object with relative path
> 
> Lucian,
> 
> http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/buildi12.htm
> 
> In this document it explains that CF will look for the component all
> throughout the webroot (including Mappings and Custom Tag Paths) if you
> use only the *name* of the component. I have not tried this but extend
> by name only might solve your issue.
> 
> Ian
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Ian Sheridan
> [EMAIL PROTECTED]
> http://www.savagevines.com
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
> in the message of the email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.com).
> 
> An archive of the CFCDev list is available at www.mail-
> archive.com/[EMAIL PROTECTED]



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to