Naming The Application; Setting The Client, Application, And Session Variables Options - MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual

Developing coldfusion mx applications
Table of Contents

Advertisement

Login processing
Application-specific error handling

Naming the application

In ColdFusion, you define an application by giving it a name using the
using a specific application name in a
same logical application. Although you can create an application by putting a
with the application name on each page, you normally put the tag in the Application.cfm file; for
example:
<cfapplication name="SearchApp">
Note: The value you set for the name attribute in the cfapplication tag is limited to 64 characters.
ColdFusion supports unnamed applications, which are useful for ColdFusion applications that
must interoperate with JSP tags and servlets. Consider creating an unnamed application only if
your ColdFusion pages must share Application or Session scope data with existing JSP pages and
servlets. You cannot have more than one unnamed application on a server. For more information
on using unnamed applications, see
Applications," on page

Setting the client, application, and session variables options

You use the
cfapplication
To use Client scope variables, you must specify
To use Session scope variables, you must specify
You can also optionally do the following:
Set application-specific time-outs for Application and Session scope variables. These settings
override the default values set in the ColdFusion MX Administrator.
Specify a storage method for Client scope variables. This setting overrides the method set in
the ColdFusion MX Administrator.
Specify not to use cookies on the client browser.
For more information on configuring these options, see
Locking," on page 315
cfapplication
Chapter 33, "Integrating J2EE and Java Elements in CFML
735.
tag to specify client state and persistent variable use, as follows:
and CFML Reference.
cfapplication
tag, you define a set of pages as part of the
clientManagement=True.
sessionManagment=True
Chapter 15, "Using Persistent Data and
Creating the Application.cfm page
tag. By
tag
cfapplication
.
273

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION MX 61-DEVELOPING COLDFUSION MX and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion mx

Table of Contents