Hi, what is a good way to insert a ColdBox setting value (from the “settings” struct in ColdBox.cfc) into a component managed in my ColdSpring file?
I have a component (instantiated via ColdSpring) that manages sessions. I’d like to place my timeout in the ColdBox.cfc settings area, but I need it in the component. I’m not sure if I can call getSetting() inside the component. Even if that is available to me, I don’t like that dependency. I’m considering just putting the timeout value in ColdSpring, and having it injected into the component that way, but I’d rather keep the value in ColdBox.cfc if thats possible.