Article ID: 254742 - Last Review: June 23, 2005 - Revision: 3.2 HOW TO: Use a Generic Collection to Parse HTTP Form Data with ASPThis article was previously published under Q254742 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/prodtech/IIS.mspx
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
On This PageSUMMARY This step-by-step article describes how to parse form data
easily when you use Microsoft Active Server Pages (ASP) by using a generic
collection instead of by explicitly defining the ASP collection for GET or POST
requests. When you use ASP to process data that is entered on a Web page through a form, two different collections are used depending on which HTTP method is specified in the form declaration:
NOTE: You may receive an error message if you copy the examples directly from this article to Microsoft FrontPage. The angle brackets (< and >) may appear as escaped HTML code (< and >). To work around this behavior, paste the script in a blank Notepad document, and then copy it from Notepad before you paste it in FrontPage. Create the Sample PagesThe following steps describe how to create a sample HTML page with two Web forms (one that uses the GET method and one that uses the POST method), and how to create a sample ASP page that processes the form by using either method.
REFERENCESFor additional information, click the article number below to
view the article in the Microsoft Knowledge Base: 300104
(http://support.microsoft.com/kb/300104/EN-US/
)
HOW TO: Pass Form Data from One Page To Another by Using GET and POST in Active Server Pages
| Article Translations
|
Back to the top
