RE: Problem when using browder back button

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

 



> > It's an issue of using POST instead of GET and has nothing to do
with
> > PHP. Most browsers won't "re-post" POST data for you for security
> > reasons. GET, however, is just a URL with a query string, so it
simply
> > requests it.
> 
> Assuming you can't re-write the POST inputs as GETs, is there a way
around
> this so users don't have to see that error?

Don't show any page that's created by a POST operation. If you must use
POST in your forms, use a "middle-man" page that processes the form,
inserts the data into the database or whatever, and redirects using
header() back to another page. Then the user can go back and forth
without issues. 

---John W. Holmes...

Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/





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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux