Difference between GET and POST methods of submitting form data

Started by Kalyan, Aug 18, 2008, 12:27 PM

Previous topic - Next topic

Kalyan

Difference between GET and POST methods of submitting form data

Post never returns a cached page. Post is encrypted. Post doesn't have a length limit like Get. Get URL can be copied and can be emailed to anyone. Post URL cannot.

Get has a length restriction Post does not have any length restriction. Get - This has a limit as to number of characters that it can pass. In get the request is sent in the the form of a query string from the web browser to the web server. The maximum number of characters that can be passed are 255. Since the request is sent in the query string that is visible in the address bar of the web browser, this method is not suited for passing confidential information such as passwords/credit card numbers etc.

Post - There is no such limit on the number of characters that can be passed at a time as the request is passed in the body of the message. So this is useful for passing confidential data. Also, one can pass any length of information to the server.