Autodesk 15606-011408-9300 Developer Guide - Page 128
Request.QueryString, Request.Form, QueryString, transmitted from an HTML form via the HTTP GET method
UPC - 606121429548
View all Autodesk 15606-011408-9300 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 128 highlights
The effect of this line is to create a variable called loc and to assign it the value showform.asp?LAT=37.721&LON=-121.943. The next line creates a new browser window, using the loc variable to supply the URL. The last line shifts browser focus to the new window we just created. Now, let's look at the second ASP file, the showform.asp file: Attribute Input Incident Report: Reported By: The showform.asp file shows a form, used to enter a description of the incident. The form follows HTML syntax, but also contains the ASP variables: The Request.QueryString collection is similar to Request.Form, but instead of holding HTML form values transmitted via the HTTP GET method, it can hold either of the following: I HTML form parameters transmitted via the HTTP POST method I URL parameters added to the URL directly, not generated by a form We use QueryString in this case, because the URL parameters that were sent to showform.asp were created explicitly by JavaScript code in getpoint.asp. Note Use Request.Form if your data is being transmitted from an HTML form via the HTTP POST method. Use Request.QueryString if your data is being transmitted from an HTML form via the HTTP GET method, or if it is coming from a URL parameter not associated with any form. 128 | Chapter 6 Using Reports to Query and Update Data Sources