Create Client Variable Data Source Tables; Migrating Client Variable Data; Creating Client Variable Tables - MACROMEDIA COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER Manual

Table of Contents

Advertisement

50

Create client variable data source tables

Use this option to allow ColdFusion to create the tables necessary for client variables
when you first configure the data source for this purpose. As you configure other
servers in your cluster to use this client variables data source, be sure to disable the
option for ColdFusion to create the necessary tables. If you inadvertently enable
automatic table generation, ColdFusion generates a SQL error because it tries to create
tables that already exist.

Migrating Client Variable Data

If you need to migrate your client variable data to another data source, you need to
know the structure of the database tables used to store this information. Client
variables stored externally use two small database tables with the following simple
structure. Data types shown in these tables are those used for a Microsoft Access
database. Your database may require different data types.
CDATA
Column
cfid
app
data
CGLOBAL
Column
cfid
data
lvisit

Creating client variable tables

You can use the following example ColdFusion page as a model for creating client
variable database tables in your own database. Not all databases support the same
column data type names, so you may have to alter some data types for your database.
Refer to your database documentation for the proper data type.
Data Type
char(20)
char(64)
memo
Data Type
char(20)
memo
date
Administering ColdFusion Server

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER and is the answer not in the manual?

This manual is also suitable for:

Coldfusion 4.5

Table of Contents