• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Application Framework > Locking Shared Variable Access

Locking Shared Variable Access

Before entering a discussion of the variables that are used to maintain session state, let’s first discuss a concept that too many developers have ignored in past versions of ColdFusion. The concept is that of locking access to shared memory variables.

When we say “shared memory variables,” we are referring to application-, session-, and server-scoped variables. These variables are stored as structures in the memory of the ColdFusion Server. Because ColdFusion is a multi-threaded application server, these memory structures can be subject to multiple simultaneous requests.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint