Re: PRG pattern - how to implement a "load page using GET"
| From: | Richard Lynch | Date: | Tue, 18 Dec 2007 00:00:19 +0000 |
| Subject: | Re: PRG pattern - how to implement a "load page using GET" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-265996@lists.php.net to get a copy of this message | ||
On Sun, December 16, 2007 2:05 pm, Robert Erbaron wrote:
> - Never show pages in response to POST
> - Navigate from POST to GET using REDIRECT
> - Always load pages using GET
I believe #3 is simply a more general way of saying #1 + #2, but may
be wrong.
And I basically completely disagree with the author in the first
place, so...
> (P.S. I'll get to the issue of rearchitecting this via require instead
> of using header() redirects,cough, cough, Richard Lynch, cough, cough
> :) in a future message. One step at a time...)
... you can probably just ignore this, as it's diametrically opposed
to the rules you're following, as I understand them.
ymmv
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?