Re: PHP post data

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

 



John Taylor-Johnston wrote:
Scrolling back and forward through my PHP generated search
engine, my browser (FF) alerts to remind me that I have post
data. What kind of header can I add to avoid it doing that?

I have a pretty detailed article about this on my web site:

http://shiflett.org/articles/guru-speak-nov2004

In your case, you want to use what some people call the PRG pattern (POST, Redirect, GET). The redirect you want is a 3xx response, because those are excluded from the history mechanism, and PHP handles this for you when you add a Location header to a response.

Chris

--
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