Lucee: Issue: While loading the table, the applic...
# cfml-general
f
Lucee: Issue: While loading the table, the application encounters issues due to various reasons: 1. Occasionally, it fails to access certain Application variables or their values, even though they are properly defined in the
onRequest
method of
Application.cfc
. 2. At times, an error is thrown indicating that the datasource does not exist.
m
you could use null safe operator, but that would just mask that you are likely clobbering that shared scope variable elsewhere. defining them in onrequest is probably doing that during concurrent requests. as it is resetting during every request, likely not what you want; if you do want that, then application is not the proper scope to use.