RE: [PHP-DB] Problem when using browder back button

From: Date: Fri, 06 Jun 2003 12:58:32 +0000
Subject: RE: [PHP-DB] Problem when using browder back button
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-28370@lists.php.net to get a copy of this message
> > 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/

« previous php.db (#28370) next »