Understanding URL and form parameters
URL parameters store retrieved information input by users. To define a URL parameter you create a form or hypertext link that uses the
GET method to submit data. The information is appended to the URL of the requested page and communicated to the server. When using URL variables, the query string contains one or more name/value pairs that are associated with the form fields. These name/value pairs are appended to the URL.
Form parameters store retrieved information that is included in the HTTP request for a web page. If you create a form that uses the
POST method, the data submitted by the form is passed to the server. Before you begin, make sure you pass a form parameter to the server. For instructions, see Obtaining Data for Your Page.
- Defining URL parameters
- Defining form parameters