Ask a Question related to ASP, Design and Development.
-
John Davis #1
Request.Form("Field Name") Versus Request.QueryString("Field Name")
I want to know what's the differences between
Request.Form("Field Name") and
Request.QueryString("Field Name")
OR they function exactly the same, which is to return the value of the
field??
Thanks,
John
John Davis Guest
-
"Page" and "Rect" props of the Field prop in Javascript API
Page property of the Field property in Javascript Acrobat API returns an array of pages that this field exists in. On the other hand, "rect" property... -
ERROR: The form field "theFile" did not contain a file.
I'm getting this error when a user uploads a file. (I do have ENCTYPE="multipart/form-data" in the form definition.) If the user tries to upload a... -
Compare 2 fields & delete everything in "field 2" that occurs in "field 1"
Is it possible to compare 2 fields and delete everything in "field 2" that also occurs in "field 1" ? FIELD1 800-555-1212 for... -
#25366 [NEW]: form buttons of type "image" dont send "submit" $_POST variable in IE
From: jordanolsommer at imap dot cc Operating system: Windows XP PHP version: 4.3.2 PHP Bug Type: Variables related Bug... -
dr("field").toString returns "400.0000" instead of "400"
I have just installed VS.NET 2003 on my computer. I have a project that I have been developing on VS.NET 2002. I haven't upgraded this project to... -
Ken Schaefer #2
Re: Request.Form("Field Name") Versus Request.QueryString("Field Name")
This is a simplistic explanation:
If the HTTP request method is POST, the user submitted data is in the
Request.Form() collection
If the HTTP request method is GET, then user submitted data is in the
Request.QueryString() collection
However, you can still do:
<form method="post" action="page.asp?data=value">
<input type="text" name="txtName" value="Name">
</form>
and
Request.Form("txtName") will contain "Name"
-and-
Request.QueryString("data") will contain "value"
Cheers
Ken
"John Davis" <jrefactor@hotmail.com> wrote in message
news:uFWBAJUZDHA.1492@TK2MSFTNGP12.phx.gbl...
: I want to know what's the differences between
: Request.Form("Field Name") and
: Request.QueryString("Field Name")
:
: OR they function exactly the same, which is to return the value of the
: field??
:
: Thanks,
: John
:
:
Ken Schaefer Guest
-
Dave Anderson #3
Re: Request.Form("Field Name") Versus Request.QueryString("Field Name")
"John Davis" wrote:
They refer to objects in two different collections, each of which may be present>
> I want to know what's the differences between
> Request.Form("Field Name") and
> Request.QueryString("Field Name")
in a request.
From a practical standpoint, the former captures data from forms with METHOD
"post", and the latter with METHOD is "get".
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use of
this email address implies consent to these terms.
Dave Anderson Guest



Reply With Quote

