mjclemente
11/04/2024, 7:54 PMbkbk
11/04/2024, 9:59 PM<cfcomponent sessionmanagement="yes" clientmanagement="yes">
I had expected the usual
<cfcomponent>
<cfset this.sessionmanagement="yes" >
<cfset this.clientmanagement="yes">
mjclemente
11/05/2024, 12:33 AMmjclemente
11/05/2024, 12:33 AMDean
11/08/2024, 1:08 AMinclude Applicaiton.cfm
in the onREquestStart, now they...
function onRequestStart( targetPath = "" ) {
AppProxy = new ApplicationProxy()
AppProxy.onRequestStart()
return super.onRequestStart( targetPath );
}
mjclemente
11/08/2024, 2:01 PMbkbk
11/10/2024, 10:34 AM<cfcomponent extends="appRoot.Application">
bkbk
11/11/2024, 10:08 AMAppProxy = new ApplicationProxy()
AppProxy.onRequestStart()
@Dean, are you sure about that? I am not.
I think ColdFusion/Lucee is the one that has the responsibility to instantiate Application.cfc, not the application itself.mjclemente
11/11/2024, 2:35 PMDean
11/11/2024, 8:26 PMonRequestStart
handles in it.bkbk
11/11/2024, 9:56 PMnew ApplicationProxy()
under the bonnet.
Inheritance is transitive: if your local Application.cfc extends ApplicationProxy.cfc, and ApplicationProxy.cfc extends the root Application.cfc, then your local Application.cfc extends the root Application.cfc. I am therefore confused by your statement that you "dont want to extend the root Application.cfc".Dean
11/11/2024, 10:14 PMDean
11/11/2024, 10:14 PMbkbk
11/12/2024, 9:21 PMGregory Alexander
11/23/2024, 11:05 PM