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


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> ASP.Net >> Post New Question Subscribe to Interview Questions

Difference Between GET and POST methods in HTML

Posted By :Syed Shakeer Hussain     Posted Date :February 19, 2009    Points :10   Category :ASP.Net 
Difference Between GET and POST methods

GET:
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

POST:
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.

You can also find related Interview Question to Difference Between GET and POST methods in HTML  below: 

Methods GET vs. POST in HTML forms.

  
Encoding form data into URL is needed by the GET method. The form data is to be appeared within the message body , by the POST method. By specification, GET is used basically for retrieving data where as POST is used for data storing, data updating, ordering a product or even e-mailing. (More...)

Difference between GET & POST.

  
You would use GET when the request is idempotent, meaning that multiple requests generate the same result. In general use GET to retrieve data from the server, in other words try to change the state on the server with a GET call. Use POST methods anytime you are changing the state on the server with a GET call. In POST you are required to set the content-Type header on the XMLHttpRequest. (More...)

What is difference between xml and html?

  
XMl describe the data or we can say its like a database which get the data and helps in fetching the data on the other side HTML is use only for displayng the data so we can say HTML is static information displayer (More...)

Expalin one difference between Abstract and virtual methods?

  
Virtual method can be overriden in any of its derived class and abstract method must be overriden in any of the non abstract class. (More...)

What is the difference between int.Parse and int.TryParse methods?

  
Parse method throws an exception if the string you are trying to parse is not a valid number where as TryParse returns false and does not throw an exception if parsing fails. Hence TryParse is more efficient than Parse (More...)

What is the difference between Skip() and SkipWhile() extension methods?

  
Skip() will take an integer argument and skips the top n numbers from the given IEnumerable

SkipWhile() continues to skip the elements as long as the input condition is true. Once condition turns false it will return all remaining elements. (More...)

What is the difference between XML and HTML?Is XML case sensitive?

  
XML describes data while HTML describes how the data should be displayed.HTML is about displaying information while XML is about describing information. XML can be used to store the data.

XML is case sensitive (More...)

What is the difference between Execute Reader, Execute Scalar and Execute Non Query methods?

  
Execute Reader
Execute Reader will be used to return the set of rows, on execution of SQL Query or Stored procedure using command object.

Execute Scalar
Execute Scalar will be used to return the single value, on execution of SQL Query or Stored procedure using command object.

Execute Non Query
If the command or stored procedure performs INSERT, DELETE or UPDATE operations, then we use Execute Non Query method. Execute Non Query method returns an integer specifying the number of rows inserted, deleted or updated.

(More...)

What are the main difference between HTML and XML?

  
HTML is for presenting the data , whereas XML is used to transfer data between applications and databases.

HTML has data ,whereas XML describes the data.
HTML can include video, audio,pictures, etc.. whereas XML doesnt. (More...)

What is the difference between inner HTML and append() in JavaScript?

  
Inner HTML is not standard, and its a String. The DOM is not, and although inner HTML is faster and less verbose, its better to use the DOM methods like append Child(), first Child.node Value, etc to alter inner HTML content. (More...)

Difference between ASP.Net Table and HTML Table?

  
I think,
ASP.Net Table:
Horizontal -align is supported
Text Blink is not supported
HTML Table:
Horizontal -align is not supported
Text Blink is supported

These are the Difference between ASP.Net Table and HTML Table.
(More...)

What is difference between Load() and LoadQuery() methods ?

  

Ans. Load method populates the client object directly with what it gets data from the server i.e. a collection object like ListItemCollection etc. but LoadQuery returns the data as a completely new collection in IEnumerable format. Other major difference is that the Collections that you load using the Load() method are eligible for garbage collection only when the client context variable itself goes out of scope where as, in these collections go out of scope at the end of IEnumerable list. (More...)


Q. What is difference between Load() and LoadQuery() methods ?

  
Ans. Load method populates the client object directly with what it gets data from the server i.e. a collection object like ListItemCollection etc. but LoadQuery returns the data as a completely new collection in IEnumerable format. Other major difference is that the Collections that you load using the Load() method are eligible for garbage collection only when the client context variable itself goes out of scope where as, in these collections go out of scope at the end of IEnumerable list.

(More...)

Difference between XML and HTML?

  
XML : designed to Transport and Store Data.
HTMl: designed to Display Data.
XML : Tages are not Predefined .Defined your Own Tags
HTMl: Tags are predefined. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


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