ColdFusion only looks up the directory tree if it can't find an
Application.cfm.  As soon as it finds one, it stops.

Just <cfinclude> the parent application.cfm into the child one.

<cfinclude template = "../Application.cfm">

Todd


----- Original Message -----
From: "Michael She" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 24, 2000 8:30 PM
Subject: Application.cfm inheritence


> Hello,
>
>
> Will a "child" application.cfm inherit variables, settings, etc from the
> parent application.cfm?
>
> For example:
>
>
> +Root Dir
> |application.cfm
> +---Some Subdir
> |   applicaiton.cfm(2)
>
>
> will application.cfm(2) be able to get the settings from application.cfm?
> --
> Michael She
> I m a g i n e   C o m m u n i c a t i o n s
> Company E-mail: [EMAIL PROTECTED]
> Personal E-mail: [EMAIL PROTECTED]
> ICQ UIN: #243466
> Personal Homepage: http://www.michaelshe.com (Under Construction)
> Imagine Communications: http://www.imagineer.net
> PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
>
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to