seandaniels
05/17/2023, 7:46 PMsessionCluster=true on a production app that has three Lucee instances all running 5.3.10.120. Very rarely, but seemingly in the same situations, a session variable only persists on the instance it was set on, meaning the session data is inconsistent across instances. The situation(s) in question I believe all involve a redirect (using ColdBox's relocate()) after setting the session variable. Is this is a known issue? Is there some sort of session flush I need to execute before the relocation?zackster
05/17/2023, 7:50 PMseandaniels
05/17/2023, 7:51 PMseandaniels
05/17/2023, 7:51 PMseandaniels
05/17/2023, 7:52 PMseandaniels
05/17/2023, 7:52 PMzackster
05/17/2023, 7:53 PMseandaniels
05/17/2023, 7:56 PMsessionCluster=true was to tell Lucee to aggressively write to session cache. i.e., you can use a distributed cache with sessionCluster=false and it would write to memory until the end of the request. But with sessionCluster=true it writes with every session scope change. I know it does this because I can see many writes to my session cache per request.seandaniels
05/17/2023, 7:56 PMzackster
05/17/2023, 7:59 PMseandaniels
05/17/2023, 8:00 PMseandaniels
05/17/2023, 8:07 PMfalse and re-enabling sticky sessions. I guess if a server drops / comes online at that point all the users "stuck" to the dropped server would move to a new one and their session would be read from the cache first since it's not in memory?seandaniels
05/17/2023, 8:07 PM