Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Is GET/POST totally interchangeable?


Brett_Tabke - 3:40 pm on Dec 15, 2001 (gmt 0)


Bears repeating because it gets over shadowed by other issues in most Get vs Post discussions:
Another difference is that GET, since it is part of the URL, ends up in the server logs. POST data does not make it into the server logs, and provides extra security for that reason.

On a different issue:

One of the advantages of using the GET method, and an important one at that, is the ability of the page to be cached. Useful if people are likely to be using the back and forward buttons through 'action' pages that receive data:

That all depends upon the browser Joshie. According to the [url=ftp.isi.edu/in-notes/rfc2616.txt]HTTP 1.1 specification[/url] section 13.9, Get's are NOT to be considered fresh unless they contain an Expires header. In otherwords, IE and Netscape are wrong.

Additionally, the forward and backward behavior of a browser is also browser independent. Some browsers will "memory cache" forward and backward get/post data - others will not.

Both issues are extremely heated. Some want to string up Berners Lee in the public square for section 13.9 paragraph 2. It's absolutely backwards of what is needed. There is a quiet war going on over it in browser circles. Moz refuses to support the spec on Get's, but Opera is obeying it. What sucks, is neither are considering what is best for users or websites. The only thing they should be doing is cache the stuff unless it is told specifically not too.


Thread source:: http://www.webmasterworld.com/html/1253.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com