Let 's say I send a post form to an asp page. What is the object or the collection that gives me ALL the variables AT ONCE sent by the post method? Thank you! :)
Printable View
Let 's say I send a post form to an asp page. What is the object or the collection that gives me ALL the variables AT ONCE sent by the post method? Thank you! :)
Okay, I am shooting blind here, and following logic that may be faulty.
If you can use "Request.QueryString" to return the entire querystring, you may be able to use "Request.Form" to return the entire form. Either that, or do the following
VB Code:
dim FormItem ' formItem is the name of the field, and ' the data would be gotten with Request.Form.Item(formItem) for each formItem in Request.Form Response.write formItem & ":" & Request.Form.Item(formItem) next
Wydok's not wrong... if you use just request.form you get all the form data in a querystring-like format, otherwise you can use the collection method.