Is anyone else seeing issues with clusted DB sessions for Lucee 7?
We run Lucee in docker containers with an external MS SQL DB to hold the sessions.
Our current deployment running:
Lucee 6.2.2.91
Tomcat 11.0.9-jdk21
runs fine. Upgrading to:
Lucee 7.0.0.395
Tomcat 11.0.14-jdk21
Exhibits random issues with sessions. Logging into the application is fine, both containers see the session correctly as refreshing over and over keeps the user logged in.
If we go to our reports section, it will initial ask what report to run etc, on submitting that form, it saves the Form variables to the session and refreshes the page, this then runs the report.
However in Lucee 7 the application complains that required fields are not set, and on dumping the Session scope the Report data hasn’t been set.
We set our session up via the Application.cfc file:
// Session Information
this.sessionType = "cfml";
this.sessionManagement = true;
this.sessionStorage = "SessionManager";
this.sessionCluster = true;
this.sessionTimeout = Request.Cache.Thirty;
this.setClientCookies = false;
this.setDomainCookies = false;
On the specific reporting section of the application I’ve tried adding calls to sessionCommit() to see if that has any affect, but this doesn’t seem to be the case.
I’ve tried dumping the session just before the location() call and the session shows as I expect, but refreshing the page it’s gone back to it’s last state.