The "expires" parameter of cfcookie is only accepting integer values.
CF 9.01 is accepting floating point values to have a shorter expire time than 1 day.
<cfcookie name="testCookie1" value="ENG" expires=0.417>
The 0.417 represents the 10hrs (10/24).
This works fine in CF 9.01. However in Lucee, it looks like only integer numbers are allowed, and in my example, the Cookie expires immediately (I suspect the 0.417 becomes 0).
Support discussion: https://dev.lucee.org/t/cf-lucee-incompatibility-for-cfcookie/6261
I've checked this ticket & confirmed the issue happened on lucee latest version 220.127.116.11-SNAPSHOT also. In ACF doesn't consider this 0.417 as 0. But, lucee considered 0. This is a cause of this issue. will confirm about this