.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

What is get and post method in asp.net

Posted By: Ramesh     Posted Date: March 19, 2010    Points:2   Category :ASP.Net
What is get and post method in asp.net? when to use get and when to use post method in asp.net?

Thanks in advance

Author: Lalij Mer             
Posted Date: March 19, 2010     Points: 5   

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."

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


- for forms with password fields
- for large forms or forms with large text fields

show here more details

Please Check my answer if you help....
Thank You...

Author: Syed Shakeer Hussain             
Posted Date: March 19, 2010     Points: 5   


Difference Between GET and POST methods
1) Data is appended to the URL.
2) Data is not secret.
3) It is a single call system
4) Maximum data that can be sent is 256.
5) Data transmission is faster
6) This is the default method for many browsers


1) Data is appended to the URL.
2) Data is Secret
3) It is a two call system.
4) There is no Limit on the amount of data.That is characters any amount of data can be sent.
5) Data transmission is comparatively slow.
6) No default and should be Explicitly specified.

Author: Rowan             
Posted Date: May 03, 2010     Points: 5   

GET. Usually used to fetch pages. If extra data needs to be sent (i.e from a form) in the request it is put in the querystring.

POST. Usually used to post data (forms). Extra data can now also be put into to the body of the request. The receiving web server can see the data, but it's not visible in the url.

The advantage of GET is that all the data is in the URL, so you can provide additional data by just providing a link with the correct querystring, such as http://phpforms.net/tutorial/html-basics/form-builder.html form builder.

The disadvantage is that the URL imposes a limit on the amount of data that can be sent, and maybe you don't want the data to be easily modifiable.

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend