Question
About locking Application variables
Regarding Application variables, the CF documantation states:
"This issue is a problem even for write-once read-many variables
..... "
I have an application where Application variables ('Application.dataSource' and 'Application.(instanceObject of a cfc)' are created in Application.cfc and only read, never modified or otherwise written to in any of the templates.
Could there possible be race conditions or some other reason to need locking in this situation? Is there really a need to test for the existence of these variables with the templates all being under Application.cfc?
Someone, please throw some light on this subject.
Carlos
I have an application where Application variables ('Application.dataSource' and 'Application.(instanceObject of a cfc)' are created in Application.cfc and only read, never modified or otherwise written to in any of the templates.
Could there possible be race conditions or some other reason to need locking in this situation? Is there really a need to test for the existence of these variables with the templates all being under Application.cfc?
Someone, please throw some light on this subject.
Carlos