setting sessiontype in Application.cfc sometimes breaks session

Description

I have 3 hosts running in the same Lucee/Tomcat instance.
On one of those instances (doesn't occur in the others that we've observed) setting this.sessiontype in Application.cfc to any value at all causes the session to reset within 1s after setting additional values.

With this one exception, Application.cfc and all other components that modify the session struct in any way are all identical.

Within admin/server.cfm, the scope session type is set to JEE.

_What follows is my rant to my team:
There is absolutely no logical reason for this whatsoever
Furthermore, the obligatory usage of multi-syllabic verbiage indicates that the frustration thereof is more than an individual of consequence can consume. The burden thereof is unbearable.
Therefore, let it be known that setting sessiontype should be avoided unless that too causes unmistakably mysterious conundrums that cannot be borne._

Environment

Windows Server 2012
Lucee on Tomcat

Activity

Pothys - MitrahSoft 31 May 2017 at 05:07

OK, I'll close the ticket for now, as we couldn't able to reproduce the issue. Please create a new ticket, if you can able to see this issue in future.

Travis Peters 30 May 2017 at 13:47

I cannot speak for that specific version, but 5.1.3.18 and 5.2.1.9 no longer present these symptoms.

Pothys - MitrahSoft 30 May 2017 at 13:38

Hi ,

I've test same code with two context in lucee 5.1.2.24 version. It doesn't break session. Session working fine on both context. Please confirm that the issue still reproduced or not?.

Travis Peters 20 March 2017 at 15:54

{{
this.Name = "ClientServer-Host1";

this.sessionManagement="Yes";
this.sessiontimeout=CreateTimeSpan(1,0,0,0);
this.SetClientCookies = false;

this.sessiontype = 'j2ee';
}}
session remains intact

{{
this.Name = "ClientServer-Host2";
this.sessionManagement="Yes";
this.sessiontimeout=CreateTimeSpan(1,0,0,0);
this.SetClientCookies = false;
this.sessiontype = 'j2ee';
}}
session resets after a few milliseconds

Not sure what other details I can provide that would be meaningful.

Pothys - MitrahSoft 20 March 2017 at 10:41

Hi ,
I've analyzed this ticket a lot & I couldn't able to reproduce the issue. Please provide some more detail information about the issue or if you can add any test code to reproduce the issue it helps me lot to find the issue.

Cannot Reproduce

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 16 March 2017 at 23:15
Updated 31 May 2017 at 05:07
Resolved 31 May 2017 at 05:07