SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1245 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

asp?prod=
widget&sessionID=2343215&login=no&visited=gadgets%20%r%20us
The text following the question mark is called a query string, or the URL parameters. Query strings are a tool
used by Web applications to pass information from one page to the next. Frequently, you see a query string
after submitting a form. Forms using the Get method pass their variables by appending a question mark
and the form information to the URL of the requested page. The form information is in a series of
name/value pairs; and each name/value pair is linked by an equals sign, as follows:
Firstname=Joseph
Query strings may include any number of name/value pairs, separated by an ampersand. Thus, for a form
that passes the data entered into a first name field and a last name field, the query string may look like this:
?firstname=Joseph&lastname=Lowery
Neither single nor double quotation marks are used because they are in HTML attributes. Quotation marks
and other characters??”including spaces, apostrophes, and tildes??”are represented by hexadecimal values
so that they are properly understood by servers. Such strings are said to be URL encoded, and they are
designated by an initial percent sign, followed by the ASCII value of the character in hexadecimal. Some
commonly used encoding values are as follows:
Character ASCII Value
Space %20
Apostrophe or single quotation mark ??? %27
Double quotation mark ??? %22
Tilde ~ %7E
Less than < %3C
Greater than > %3E
The query string field appears in the Live Data toolbar by default, prefaced by the URL path used by Live
Data plus a question mark.


Pages:
1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257