Re: GET or POST method?



Kurda Yon wrote:
Hi,

I have to decide which form-method I should use (GET or POST). I found
the following recomendation:
If the service associated with the processing of a form has side
effects (for example, modification of a database or subscription to a
service), the method should be POST. (http://www.cs.tut.fi/~jkorpela/
forms/methods.html).

However, later I did not find any convinced arguments why it should
help (it can be that I just did not understand something).

So, I have decided not to go into the details of GET and POST methods
and just use POST. Is here any significant difference between GET and
POST which I should worry about (like security issues or something
else)? Or it is just question of convenience?



Another consideration - GET URLs can be bookmarked. POST URLs cannot. So, for instance, if you're displaying a restaurant from a list, GET would be good so the user could bookmark it. But if you're adding data to a database, you wouldn't want them to add it every time they visit the page so you'd want to use POST.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.



Relevant Pages

  • GET or POST method?
    ... I have to decide which form-method I should use. ... the following recomendation: ... I have decided not to go into the details of GET and POST methods ... POST which I should worry about (like security issues or something ...
    (comp.lang.php)
  • Re: GET or POST method?
    ... I have to decide which form-method I should use. ... the following recomendation: ... I have decided not to go into the details of GET and POST methods ... PHP professionals looking for PHP jobs ...
    (comp.lang.php)