Re: GET or POST method?
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Tue, 15 Jan 2008 06:34:16 -0500
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
==================
.
- Follow-Ups:
- Re: GET or POST method?
- From: Toby A Inkster
- Re: GET or POST method?
- References:
- GET or POST method?
- From: Kurda Yon
- GET or POST method?
- Prev by Date: Re: GET or POST method?
- Next by Date: Re: PHP fails writing to text file?
- Previous by thread: Re: GET or POST method?
- Next by thread: Re: GET or POST method?
- Index(es):
Relevant Pages
|