onSessionEnd() is never triggered when using JEE sessions

Hi,

I did a lot of different tests and I’ve read every post (I think) on the “onSessionEnd()” topic, but I cannot find a solution. I would be happy if a few others would test it as well. I created two small test files for this in the attached zip.

Can anyone confirm that onSessionEnd () is never triggered when using JEE session?

Session_Timeout_Test.zip (818 Bytes)

OS: Debian 9.13 - Linux
Java Version: openjdk version “11.0.7” 2020-04-14
Tomcat Version: 9.0.35
Lucee Version: Lucee 5.3.7.47

1 Like

Hi Knut, I tried your test and am seeing the same thing. We use J2EE sessions for our apps but not onSessionEnd(), so haven’t come up against it previously.

file a bug :slight_smile:

Hi Julian,

thanks for your testing and confirming the bug.

Hi Zac,

I will file a bug.

https://luceeserver.atlassian.net/browse/LDEV-3264

I removed the file names, so it all logs to application.log for simplicity

are you seeing the application name in the application.log? I’m not with 5.3.8.143

Application.cfc (1.4 KB)

this has been fixed in 5.3.9.105

1 Like