| Author: Parvathi S 02 May 2009 | Member Level: Silver Points : 1 |
post method is secure. When we use post method the contents will not be displayed in the address bar
When we use get method the contents will be transferred along with the url. so get method is not secure
|
| Author: Deepika Haridas 04 Jun 2009 | Member Level: Gold Points : 1 |
hi,
Thanks for all your responses. Good point added.. keep sharing..
Thanks Regards, Deepika
|
| Author: bommala 01 Mar 2010 | Member Level: Silver Points : 1 |
hi, Deepika Haridas
please check once about your point of maximum amount of data that can be sent via the GET method is limited to about 2kb.I think this purely depends on browsers.some browsers like firefox supports upto 65,536 bytes.
|
| Author: satyendra kr. Pandit 02 Mar 2010 | Member Level: Silver Points : 2 |
We can send data to the data processing page by both the GET and POST methods of a form. Both methods are used in form data handling where each one has some difference on the way they work. We will discuss some of the differences.
As you have seen there is a character restriction of 255 in the URL. This is mostly the old browsers restriction and new ones can handle more than that. But we can't be sure that all our visitors are using new browsers. So when we show a text area or a text box asking users to enter some data, then there will be a problem if more data is entered. This restriction is not there in POST method.
In GET method data gets transferred to the processing page in name value pairs through URL, so it is exposed and can be easily traced by visiting history pages of the browser. So any login details with password should never be posted by using GET method.
As the data transfers through address bar ( URL ) there are some restrictions in using space, some characters like ampersand ( & ) etc in the GET method of posting data. We have to take special care for encoding ( while sending ) and decoding ( while receiving ) data if such special characters are present.
There are some special cases where advantage of using GET method is , one can store the name value pairs as bookmark and directly use them by bypassing the form.
|