Click Here To Get Amazing Facebook Profile Covers,Status Messages

Difference between Form submission methods GET and POST

Both Get and Post are used to submit data entered in web forms to the data processing pages.But there is a difeerence in the way these form submission methods work.

When you submit data using GET method the data is appended to URL in key value pairs.So the user can see the dat in URL.Proper encryption should be in place before sending any sensitive data using GET method.

There is always a restriction in the size of URL by web browser.If the data entered by user in form exceeds that limit than most browsers wont be able to handle that.

Also there is restriction in terms of the characters used in URL.You can not use Space,? & like characters in your URL.These characters need to be encoded before sending using GET and needs to be decoded at recieving end.

The advantage with GET mehod is when you bookmark a page you can land directly to that page in future.When information size is limited and it is less senstivie then GET mehod is recommeded one.

In most cases POST mehod of form submission is usedis used.This method is used for secure data and when size of data is unlimited.This data is transfered using request object and is not visible in querystring of URL.Processing is faster in GET than POST method.

Your rating: None Average: 5 (1 vote)