Question
include root application.cfm in Application.cfc
I created a coldfusion app which has "Application.cfc" file.
I want to integrate this application
to the company's main application which has "Application.cfm" in the web root folder.
The question is how can I access Application.cfm variables (like loginID)
can i use <cfinclude template="../application.cfm"> in OnApplicationStart??
the file structure is as shown below
WWWROOT(folder)
.................... Application.cfm
.....................MYAPP(folder)
...............................Application.cfc
................................page1.cfm
How can page1.cfm see the variables in Application.cfm?
Thanks
to the company's main application which has "Application.cfm" in the web root folder.
The question is how can I access Application.cfm variables (like loginID)
can i use <cfinclude template="../application.cfm"> in OnApplicationStart??
the file structure is as shown below
WWWROOT(folder)
.................... Application.cfm
.....................MYAPP(folder)
...............................Application.cfc
................................page1.cfm
How can page1.cfm see the variables in Application.cfm?
Thanks