Re: PRG pattern - how to implement a "load page using GET"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert Erbaron wrote:

>> yes - abusing redirects as described is wasteful. and certainly it's
>> the first time I've ever heard the statement 'Never show pages in
>> response to POST' sounds like hubris too me.
> 
> I've seen the statement in a number of messages in the archives here
> and in google searches. 

Personally, I try to avoid the situation where you might get a
double-POST if the user decides to do a reload/refresh.  Which means
processing the POST-request, but finish it off with a 303 redirect. 


/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux