Locking; Single Threaded Sessions; Variable Scope Locking Settings - MACROMEDIA COLDFUSION 5 - INSTALING AND CONFIGURING SERVER Manual

Table of Contents

Advertisement

Locking

Locking

You use the Locking page of the ColdFusion Administrator to configure automatic
mechanisms to protect shared data from incorrect access and corruption. In
addition, the
data scope variables, including server, application, and session scopes. For more
information on the

Single threaded sessions

Single threading means that requests from a session occur sequentially. Each
request from the same session waits for previous requests to finish before
proceeding, thereby preventing multiple requests from simultaneously accessing
shared data. This option is disabled at installation.
Because session requests occur sequentially, single threaded sessions are useful if
you do not want to lock session scope variables with the
time, if you use frames in your ColdFusion application, each pane loads
consecutively. When single threaded sessions is enabled in the Administrator, you
do not need to the use the
In addition, single threaded sessions can prove valuable to debugging a ColdFusion
application. If the application error goes away when single threaded sessions is
enabled. you likely have an unlocked session scope variable.

Variable scope locking settings

Specify variable scope lock settings by clicking an option. Scope (server, application
and session) settings are described in the following table:
Option
No automatic
checking or locking
Full checking
Automatic read
locking
tag provides granular control of simultaneous access to shared
cflock
tag, see Developing ColdFusion Applications
cflock
cflock
Description
No automatic checking or locking occurs. The developer must
protect variables with the cflock tag. If variables are not
locked, data corruption may result, and server instability may
occur.
ColdFusion Server checks shared variable scope access
automatically to ensure that it is properly locked. If a data read
or write occurs outside the scope of a
displays.
ColdFusion Server checks whether shared variable scope
writes are locked and automatically locks shared variable
scope reads. If ColdFusion Server encounters shared variable
scope writes that are not locked, an error displays.
tag for session scope variables.
tag. At the same
cflock
cflock
tag, an error
77

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 5 - INSTALING AND CONFIGURING SERVER and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion server 5

Table of Contents