Getting all kinds of weird issues with Lucee 6 whe...
# lucee
s
Getting all kinds of weird issues with Lucee 6 when trying to reference session, when session is persisted to a db. The error line hits at a reference to #session.cfid#
Note the error line: It's caused by referencing 'session'.
...And clearing cookies helps resolve it. It's super bizarre.
Happens when
this.sessioncluster = true;
If I turn that off, the errors stop.
I think the issue is that there's an error writing to the session scope when using a database backend and sessioncluster=true. I'll see if I can create a more isolated test for it.
This only seems to be happening with FW/1, and the errors thus far seem to involve referencing session in Application.cfc during the request scope this
this.sessioncluster=true
. And FW/1 runs everything in the context of the Application.cfc. Hmm.
Really weird issue. Triggers with 12.** versions of the MSSQL JDBC driver. But not the 11.2.3.jre11 version. Downgrading the SQL Server JDBC driver to 11.2.3.jre11 fixed the issue.
👍🏼 2