The documentation doesn't seem to indicate one way...
# documentation
r
The documentation doesn't seem to indicate one way or another on something I was wondering: For the
Application
this.sessionTimeout
, the documentation says "Specify application properties by setting This scope variables in the Application.cfc initialization code.", but I was wanting to know if it's allowed (I could try it out and see if it works, but if it's not specifically "allowed" then it could potentially stop working with any future update) for us to set the
this.sessionTimeout
within the
onApplicationStart
instead (or override it there)? We have the same
Application.cfc
for multiple applications, and want to be able to dynamically set the session timeout per application. Either way, it would be nice if the documentation clarified this. Either by saying "Application properties may only be specified by setting This scope variables in the Application.cfc initialization code" (eliminating any ambiguity about whether it can be set later) or adding a note about what other points in execution are acceptable for altering/setting the value.