Both are methods of Form element to send data. Basically GET is used to encode the data in URL into a query string, While POST method is used to view the data within message body of HTTP request. GET method is default method, it is used automatically. You can send max 2000 characters to the server in GET Method. While with POST its 8MB size. The Requests of GET are re- executed while in POST method the browser alerts the user about to re submit the data. If you want to bookmark your web page you can use GET, which cant possible with POST. GET is not much secured because the data is sent to the browser via URL so it’s saved in browser history and server logs in plaintext which is easily viewable by others. While in POST the sender data is not stored in browser history, so it is little bit safer than GET. GET is not safe to send such sensitive information like Password but you can send it with using POST method.



LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks