How would I set a struct-based attribute like `ses...
# cfml-general
j
How would I set a struct-based attribute like
sessioncookie.secure = true
within a
<cfapplication>
tag in Lucee?
z
Don't! Just use a Application.cfc, the 90s are over
🎉 1
j
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
"#{secure:true}#" if you're nostalgic
Extends works too
j
Good to know if I'm in a pinch, definitely more interested in modernizing our codebase though. Appreciate the help man
a
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