https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-c/cfcookie.html
https://docs.lucee.org/reference/tags/application.html#attribute-sessioncookie
https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/PageContextImpl.java#L2678
https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/listener/AppListenerUtil.java#L712
I have updated the PR with some additional fixes following testing
please give this a try