|
-
Aug 6th, 2002, 05:40 PM
#1
[RESOLVED] What is the variable that return all variables?
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!
-
Aug 6th, 2002, 07:57 PM
#2
Addicted Member
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
"It would appear that we have reached the limits of what it is possible to achieve with computer technology, although one should be careful with such statements, as they tend to sound pretty silly in 5 years."
-John Von Neumann ca. 1949
-
Aug 7th, 2002, 09:34 AM
#3
Addicted Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|