GET or POST ?

  • Thread starter Thread starter Chak
  • Start date Start date
C

Chak

Newbie question.

I think ASP.NET 1.1 forms used POST requests. Does ASP.NET 2 also use POST ,
or does it use GET ?

Thanks.
 
Hello Chak,
Newbie question.

I think ASP.NET 1.1 forms used POST requests. Does ASP.NET 2 also use
POST , or does it use GET ?

If you're talking about form submissions, the answer is POST. Using GET for
form submission is only useful in very specific cases like querying data.

Cheers,
 
Hi Chak,

Actually it uses both. All Form data (POST method) can be retrieved by
individual web control. In the mean time, you can still pass QueryString (GET
method) parameters and retrieve by Request.QueryString.Get(parametee_name).

HTH

Elton Wang
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top