cookieChoices = {};

Sunday, 21 July 2013

Get and Post Methods

GET Method:

  1. All the name value pairs are submitted as query string.
  2. Its not secured as it is  visible in plain text format in the location bar of the web browser.
  3. Length of the string is Restricted.
  4. If the method is not mentioned in the form tag , this is th default method used.
  5. If the get method is used and if the page refreshed it would not prompt before the request is submittted again.

POST Method:

  1. All the name value pairs are submitted in the Message Body Of the Request.
  2. Length of the string is Not Restricted.
  3. Post Method is Secured because Name-Value Pairs cannot be seen in location bar of the web server.
  4. If the Post method is used and if the page refreshed it would  prompt before the request is submittted again.

No comments:

Post a Comment