View comments | RSS feed
Contents > Configuring and Administering ColdFusion MX > Basic ColdFusion MX Administration > Server Settings section > Client Variables page PreviousNext

Client Variables page

Client variables let you store user information and preferences between sessions. Using information from client variables, you can customize page content for individual users.

You enable client variable default settings in ColdFusion MX on the Client Variables page of the Administrator. ColdFusion MX lets you store client variables in the following ways:

You can override settings specified in the Client Variables page using the attributes of the cfapplication tag. For more information, see Developing ColdFusion MX Applications.

The following table compares these storage options:

Storage type

Advantages

Disadvantages

Data source

  • Can use existing data source
  • Portable: not tied to the host system or operating system
  • Requires database transaction to read/write variables
  • More complex to implement

Browser cookies

  • Simple implementation
  • Good performance
  • Can be set to expire automatically
  • Client-side control
  • Users can configure browsers to disallow cookies
  • Cookie data to is limited to 4 KB
  • Netscape Navigator allows only 20 cookies from one host; ColdFusion MX uses three cookies to store read-only data, leaving only 17 cookies available

System registry

  • Simple implementation
  • Good performance
  • Registry can be exported easily to other systems
  • Server-side control
  • 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
  • Solaris, Linux, and HP-UX registries are text files. Their registries deliver slow performance and low scalability.

Contents > Configuring and Administering ColdFusion MX > Basic ColdFusion MX Administration > Server Settings section > Client Variables page PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

Comments


The Scotsman said on May 18, 2004 at 8:37 AM :
Using a Database to store the variables in CFMX will result in a HUGE performance decrease compared to the same setup in CF5 - a cfapplication tag in a standard Application.cfm file can take 2000ms compared to 0-16ms when using the Registry : could it be JDBC?

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/basicon6.htm