Hello,
I would like to know about the methods : post and get of ASP.
What is the difference between them.
Need some samples, and explanation, please.
Thanks :) 6 1865
"Eitan" <no_spam_please@nospam_please.com> wrote: Hello, I would like to know about the methods : post and get of ASP. What is the difference between them. Need some samples, and explanation, please.
This is an HTTP issue, not ASP.
GET is a simple request for a document. All information is sent in the
URL, therefore you can't sent more than - umm - 1000 characters or so
in a GET request.
A POST request sends data in the body of the request, not in the URL.
The amount of data you can send this way is unlimited, you can send
entire files with the proper form syntax.
In ASP, data sent via a GET request is retrieved with the Request
object, data sent via a POST is retrieve with the Form object.
--
Tim Slattery
MS MVP(DTS) Sl********@bls.gov
Tim Slattery wrote: "Eitan" <no_spam_please@nospam_please.com> wrote:
Hello, I would like to know about the methods : post and get of ASP. What is the difference between them. Need some samples, and explanation, please.
This is an HTTP issue, not ASP.
GET is a simple request for a document. All information is sent in the URL, therefore you can't sent more than - umm - 1000 characters or so in a GET request.
A POST request sends data in the body of the request, not in the URL. The amount of data you can send this way is unlimited, you can send entire files with the proper form syntax.
In ASP, data sent via a GET request is retrieved with the Request object, data sent via a POST is retrieve with the Form object.
You were right-on, upt to this point.
Data sent by GET is retrieved via the Request object's Querystring
collection.
submittedvalue=Request.Querystring("name_of_form_f ield")
Data sent by POST is retrieved by the Request object's Form collection:
submittedvalue=Request.Form("name_of_form_field")
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Eitan wrote: Hello, I would like to know about the methods : post and get of ASP. What is the difference between them. Need some samples, and explanation, please.
Thanks :)
You cn find the ASP documentation here (as well as the rest of the
documentation for most MS development tools): http://msdn.microsoft.com/library/de.../ref_vbom_.asp
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote: You were right-on, upt to this point. Data sent by GET is retrieved via the Request object's Querystring collection.
Data sent by POST is retrieved by the Request object's Form collection:
Thanks for the correction. I knew I should have looked that up instead
of doing it from memory!
--
Tim Slattery
MS MVP(DTS) Sl********@bls.gov This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Chris Stromberger |
last post by:
When issuing updates in mysql (in the console window), mysql will tell
you if any rows matched and how many rows were updated (see below). I
know how to get number of rows udpated using MySQLdb,...
|
by: Rui Pestana |
last post by:
Hello all,
I want to use the POST method to submit the form and then grab the
parameters in the asp file with request.form("parm").
The problem is that I am using the _search target to open...
|
by: Pete Mahoney |
last post by:
Ok I use a textarea to store data input by the user, and then upon
them clicking the submit button I store this data to a database. The
problem is once the user inputs too much data (about 3...
|
by: Me |
last post by:
Hi, I would like learn from people with experience in C++, which of the
following styles of way to construct "get/set" member functions would be the
best in terms of usability, speed, et cetera.
...
|
by: Duck Dodgers |
last post by:
Here is my situation
class base {
};
class child1 {
int data;
};
class child2 {
|
by: Tom S |
last post by:
I'm using ASP.NET with C# as my code behind and I figure out how to get the
above process to work. I've found many examples online for using the
'method' member to "POST", but none for setting it...
|
by: Assaf |
last post by:
Hi all,
My client is using an online service provider that processes survey
responses.
After a user fills survey.aspx and presses the OK button, 2 things need to
happen:
1. the data has to...
|
by: Jim Carlock |
last post by:
Let's not argue about semantics. Let's talk about semasiology.
Do specifications exist for using mixed case, upper case,
lower case for the contents of the method employed?
My own preferences...
|
by: Bsr |
last post by:
What is the difference between for the following methods.
"GET", "HEAD", "PUT" or "POST".
Ex:my $req =HTTP::Request->new(GET =>$url1);
Bhuvan.
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |