Ask a Question related to ASP.NET General, Design and Development.
-
VB Programmer #1
Question: GET vs POST method
Can someone provide a simple explanation on the difference between the GET
and POST methods? What are the adv/disadv of both and when should I use
them?
Thanks.
VB Programmer Guest
-
Post method
Hi there Someone know how to capture the vars and values from the POST method, such like a Matts' FormMail, i want to do somethink like that, and... -
GET or POST method??
I wonder when we should use GET method, when we should use POST method? GET method only sends limited amount of data, and it will show the data as... -
using post method
Hello All, I am trying to use the post method in perl to fill a form. The form is actually for sending an instant message to a cell phone, i would... -
ASP, FORMS, POST METHOD And Post with out form(???)
Lets see if I can decribe, this... I have a form on an html page, that will call a remote site with a post method. Prior to running off to the... -
POST method and xls file
Normally users compile a php page to introduce some informations, then these infomations are put-in in 10 different array and with POST method... -
Ravikanth[MVP] #2
Question: GET vs POST method
Hi
Get and Post are methods used to send data to the server:
With the Get method, the browser appends the data onto
the URL. With the Post method, the data is sent
as "standard input."
It's important for you to know which method you are
using. The Get method is the default, so if you do not
specify a method, the Get method will be used
automatically.
The Get method has several disadvantages:
There is a limit on the number of characters which can be
sent to the server, generally around 100 - 150
characters.
Your user will see the "messy codes" when the data is
sent.
The Bottom Line is With the Get method, your users will
see the "messy codes" in the Location box when they
submit a form. With the Post method, they won't
Hope this gives an idea
Ravikanth[MVP]
difference between the GET>-----Original Message-----
>Can someone provide a simple explanation on thewhen should I use>and POST methods? What are the adv/disadv of both and>them?
>
>Thanks.
>
>
>.
>Ravikanth[MVP] Guest
-
Jos #3
Re: Question: GET vs POST method
VB Programmer wrote:
In addition to Ravikanth's posting:> Can someone provide a simple explanation on the difference between
> the GET and POST methods? What are the adv/disadv of both and when
> should I use them?
>
> Thanks.
Use GET:
- during development for debugging purposes (although in ASP.NET it's
also easy to see what has been sent through POST.
- if you want your visitors to be able to bookmark the submitted pages
- if you want to refer to submitted pages using hyperlinks
Use POST:
- for forms with password fields
- for large forms or forms with large text fields
Please note that web forms in ASP.NET use POST by default. It can be
changed into GET, but only for small forms. Web forms can post a lot
of data, especially when ViewState is involved.
--
Jos Branders
Jos Guest
-
VB Programmer #4
Re: Question: GET vs POST method
GREAT response! Thanks.
"Jos" <josnospambranders@fastmail.fm> wrote in message
news:urxhA7LXDHA.1680@tk2msftngp13.phx.gbl...> VB Programmer wrote:>> > Can someone provide a simple explanation on the difference between
> > the GET and POST methods? What are the adv/disadv of both and when
> > should I use them?
> >
> > Thanks.
> In addition to Ravikanth's posting:
>
> Use GET:
> - during development for debugging purposes (although in ASP.NET it's
> also easy to see what has been sent through POST.
> - if you want your visitors to be able to bookmark the submitted pages
> - if you want to refer to submitted pages using hyperlinks
>
> Use POST:
> - for forms with password fields
> - for large forms or forms with large text fields
>
> Please note that web forms in ASP.NET use POST by default. It can be
> changed into GET, but only for small forms. Web forms can post a lot
> of data, especially when ViewState is involved.
>
> --
>
> Jos Branders
>
>
VB Programmer Guest
-
Jerry III #5
Re: Question: GET vs POST method
You should also use POST for all requests that result in changes on the
server (such as updating the database). Clients will automatically resubmit
GET forms but not POST forms if the user refreshes the page (or goes back to
it in their history).
Jerry
"VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
news:%23VLQdgNXDHA.212@TK2MSFTNGP12.phx.gbl...> GREAT response! Thanks.
>
> "Jos" <josnospambranders@fastmail.fm> wrote in message
> news:urxhA7LXDHA.1680@tk2msftngp13.phx.gbl...>> > VB Programmer wrote:> >> > > Can someone provide a simple explanation on the difference between
> > > the GET and POST methods? What are the adv/disadv of both and when
> > > should I use them?
> > >
> > > Thanks.
> > In addition to Ravikanth's posting:
> >
> > Use GET:
> > - during development for debugging purposes (although in ASP.NET it's
> > also easy to see what has been sent through POST.
> > - if you want your visitors to be able to bookmark the submitted pages
> > - if you want to refer to submitted pages using hyperlinks
> >
> > Use POST:
> > - for forms with password fields
> > - for large forms or forms with large text fields
> >
> > Please note that web forms in ASP.NET use POST by default. It can be
> > changed into GET, but only for small forms. Web forms can post a lot
> > of data, especially when ViewState is involved.
> >
> > --
> >
> > Jos Branders
> >
> >
>
Jerry III Guest



Reply With Quote

