Defining URL parameters

Defining URL parameters

URL parameters store retrieved information input by users. Before you begin, make sure you pass a form or URL parameter to the server. For more information, see URL parameters and Understanding URL and form parameters.

To define a URL parameter:

  1. In the Document window, open the page that will use the variable.
  2. Select Windows > Bindings to display the Bindings panel.
  3. In the Bindings panel click the Plus (+) button and select one of the following from the pop-up menu:

    Document Types

    Menu item in Bindings panel for URL variable


    Request Variable > Request.QueryString


    URL Variable


    Request Variable


    URL Variable

    The URL Variable dialog box is displayed.

  4. Enter the name of the URL variable in the text box and click OK.

    The URL variable name is normally the name of the HTML form field or object used to obtain its value.

  5. The URL variable appears in the Bindings panel.

    This is a picture of the feature being described.

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

Related topics:

  • Defining form parameters
  • Defining session 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