tldr; I initialized a session variable in onApplicationStart() and it stopped onSessionStart() from running.
I was copying and pasting code around from onSessionStart to onApplicationStart() and overlooked a small bit of code (keep in mind I am coding in the old style, ie; not cfscript) that was suppose to remain in the onSessionStart() area:
<cfif not isDefined('Session.StampsAuth')>
<cfset Session.StampsAuth = "" />
<cfset Session.StampsDate = "" />
</cfif>
Upon doing so, I noticed that my OnSessionStart() would not fire (even after restarting Lucee). Have I forgotten that this is normal behavior, or something else?
Don’t forget to tell us about your stack!
OS: Linux (5.14.0-570.18.1.el9_6.x86_64) 64bit
Java Version: 21.0.7 (Eclipse Adoptium) 64bit
Tomcat Version: Apache Tomcat/11.0.6
Lucee Version: Lucee 6.2.1.122