Defining application variables for ASP and ColdFusion

Defining application variables for ASP and ColdFusion

In ASP and ColdFusion, you can use application variables to store and display information that is maintained for the lifetime of the application and persists from user to user.

To define an application variable for a page:

  1. Open a dynamic document type in the Document window.
  2. Select Window > Bindings to display the Bindings panel.
  3. Click the Plus (+) button and select Application Variable from the pop-up menu.
  4. Enter the name of the variable as defined in the application’s source code.
  5. Click OK.

    The application variable appears in the Bindings panel under the Application icon.

    This is a picture of the feature being described.

    Once you define the application variable, you can use its value in a page. For more information, see Adding Dynamic Content to Web Pages.

Related topics:

  • ASP and ColdFusion application variables


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Defining Sources of Dynamic Content
Developing Applications Rapidly