Adobe 38043755 - ColdFusion Enterprise - Mac Administration Manual page 20

Configuring and administering
Hide thumbs Also See for 38043755 - ColdFusion Enterprise - Mac:
Table of Contents

Advertisement

CONFIGURING AND ADMINISTERING COLDFUSION 10
Using the ColdFusion Administrator
Option
Description
Create Client database tables
Purge data for clients that
remain unvisited for [n] days
Disable global client variable
updates
C lick Submit Changes. The Client Variables page appears, with your data source in the list.
4
In the Select Default Storage Mechanism for Client Sessions table, select the data source.
5
6
Click Apply.
Store client variables in a cookie or in the system registry
In the Client Variables page, select Cookie or Registry.
1
2
Click Apply.
Client variable storage options
Storage type
Advantages
Data source
Can use existing data source
Portable: not tied to the host system or
operating system
Browser cookies
Simple implementation
Good performance
Can be set to expire automatically
Client-side control
System registry
Simple implementation
Good performance
Registry can be exported easily to other systems
Server-side control
Description
A description of the client data store and its settings. Not displayed for Registry.
If ColdFusion can determine that the database you use supports SQL creation of
database tables, this option appears, and you do not need to create the client variable
tables before they are used. In this case, the Create Client Database Tables option
appears on the Add/Edit Client Store page; if you select this option, ColdFusion creates
the necessary tables in the database.
If the database does not support SQL table creation, if the database already has the
required tables, or if you are using the Registry, this option does not appear.
Typically, client data is saved for a limited time. To delete (purge) client data that has
not been accessed in a specified number of days, select this option and enter a value
for the number of days.
If a cluster of ColdFusion servers uses this data source, ensure that only one server is
configured to purge client data.
By default, ColdFusion updates client variables for every page request. To prevent
ColdFusion from updating variables, select this option.
If updates are disabled, ColdFusion updates global client variables only when they are
first created and when they are updated. This helps improve application performance.
Last updated 7/9/2012
Disadvantages
Requires database transaction to read/write variables
More complex to implement
Users can configure browsers to disallow cookies
Cookie data is limited to 4-KB
Netscape Navigator allows only 20 cookies from one host;
ColdFusion uses three cookies to store read-only data,
leaving only 17 cookies available
Possible restriction of the registry's maximum size limit in
Windows in the Control Panel
Integrated with the host system: not practical for
clustered servers
Not available for UNIX
Applicable only for Windows
15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 10

Table of Contents