The Live Data Settings dialog box, shown in Figure 22-7, offers several important advantages
over the query string:
n The name/value pairs are easier to enter and maintain in a straightforward two-column table.
n URL encoding is handled automatically by Dreamweaver; with query strings. You have to enter
any necessary URL encoding manually.
n Variables may be sent to the application by either the Get or Post method. The query string uses
only the Get method.
CAUTION CAUTION
Query string field
721
Working with Live Data 22
n Additional initializing code may be applied to the page. This feature enables you to test different
session or environmental variables in the page, as if the server had set the values.
n Variable settings may be optionally stored. If you select this option, Dreamweaver uses its Design
Notes facility to maintain the variables.
FIGURE 22-7
You can use the Live Data Settings dialog box to simulate forms using either the GET or POST method.
To establish variables using the Live Data Settings feature, follow these steps:
1. Choose View ??? Live Data Settings, or enter Live Data view and select Settings from the Live Data
toolbar. The Live Data Settings dialog box for the current page is displayed.
2. To create a new variable, click the Add (+) button.
Pages:
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260