User defined Application scope, session scope variables not in memory for templates

Description

I having the same 2 problems on 5.2.7.63 and 5.2.8.50.

1 - onApplicationStart does not execute (solved with code in onSessionStart)
2 - user defined variables in Application and Session scope are not defined in templates

Session storage is set to memory
I do not see a comparable setting in lucee to acf enable application variables, enable session variables

Each request executes the initialization code in Application.cfc and whatever function is called for.
a - unmodified code for new session executes

  • initialization code is executed [ this.xxx ]

  • onApplicationStart is NOT executed

  • onSessionStart [ user defined Application scope variables not in memory] - error

b - modified onSessionStart code to run onApplicationStart

c - modified code for new session

  • initialization code is executed [ this.xxx ]

  • onSessionStart [ user defined Application scope variables not in memory]

  • code executes onApplicationStart

  • continue onSessionStart [ user defined Application scope variables in memory]

  • onRequestStart [ user defined Application and Session scope variables in memory]

  • template [ user defined Application and Session scope variables not in memory , Standard Session scope variables are in memory - e.g., cfid, sessionid ] - error

d - modified code for same session executes

  • initialization code is executed [ this.xxx ]

  • onRequestStart [ user defined Application and Session scope variables in memory]

  • template [ user defined Application and Session scope variables not in memory , Standard Session scope variables are in memory - e.g., cfid, sessionid ] - error

I’ve tried with Session type Application and JEE, no difference

Assignee

Unassigned

Reporter

Martie Henry

Affects versions

Priority

Major
Configure