|
|
Variables in ColdFusion
Variables in ColdFusion
When a variable is created, it resides in memory until a request has finished processing; then it is destroyed. The data of this variable is only visible by the thread processing the request.
When memory-resident variables are created, they reside in memory beyond the life of the thread. They may be accessed by multiple threads. They are removed when a Timeout occurs, or there is code that specifically removes the the variables (I.e. StructClear(Session))
Session, Application, and Server variables are all memory-resident variables.
|
|
|
|
|
|
|
|