Thanks for the insight, Ian, but that's not a problem here.
I have the components under the webroot.

Rick

On Wed, Apr 29, 2009 at 4:26 PM, Ian Skinner <[email protected]> wrote:

>
> Rick Faircloth wrote:
> > Thoughts?  Suggestions?
> >
> > Thanks,
> >
> > Rick
>
> For ANY CFML code to share application and|or session state data they
> must share the same Application name, usually set with a <cfapplicaiton
> name=""...> OR this.name="" line in either Application.cfm or
> Application.cfc files.
>
> When you start using Components one of the first things many people do
> is move them to a directory that is not inside the normal web root and
> thus probably not covered by the Application.cfm or Application.cfc file
> and thus will not be part of the same "Application" memory as far as CF
> is concerned.
>
> If you really MUST do this, many would consider it bad encapsulation,
> you must somehow tell the CFC code what application memory to use.  This
> can be pretty easily done by adding an <cfapplication name=""> tag to
> the pseudo-constructor space or an appropiate Application.cfm or
> Application.cfc file in the directory used by the CFC files.  Just
> realize how messy that can become very quickly.
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322069
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to