http://coldfusion.com logo
#cfml-general
Title
# cfml-general
j

Jason Ryan

01/28/2022, 1:18 PM
How would I set a struct-based attribute like
sessioncookie.secure = true
within a
<cfapplication>
tag in Lucee?
z

zackster

01/28/2022, 1:19 PM
Don't! Just use a Application.cfc, the 90s are over
🎉 1
j

Jason Ryan

01/28/2022, 1:20 PM
Haha okay you have a convinced me 🙂
Honestly works even better because we pull in the tag in two places, so can just centralize it and
cfinclude
it
z

zackster

01/28/2022, 1:21 PM
"#{secure:true}#" if you're nostalgic
Extends works too
j

Jason Ryan

01/28/2022, 1:23 PM
Good to know if I'm in a pinch, definitely more interested in modernizing our codebase though. Appreciate the help man
a

Andreas

01/28/2022, 2:18 PM
Would be nice to have a website that allows to translate Application.cfm to Application.cfc, like @foundeo s https://cfscript.me/ would help many migrating and adopting it.😄
👍 1