RE: [PHP] Forms: How-to not display it if user hits back?

From: Date: Sun, 29 Sep 2002 17:45:04 +0000
Subject: RE: [PHP] Forms: How-to not display it if user hits back?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-118090@lists.php.net to get a copy of this message
Use GET instead of POST. Other than that, I don't think so. It's a client side issue and all browsers handle it differently, I think. ---John Holmes... > -----Original Message----- > From: Jean-Christian Imbeault [mailto:jean_christian@myrealbox.com] > Sent: Sunday, September 29, 2002 1:24 PM > To: php-general@lists.php.net > Subject: [PHP] Forms: How-to not display it if user hits back? > > I have the following scenario > > 1- user comes to page A, clicks a button to get to page B > 2- Page B is a form the user fills and hits the submit button > 3- form data is received and I use header() to send him back to page A > > So A -> B -> A > > The problem I have is with Netscape 7, possibly other browsers too. If > the user clicks the back button at stage 3, an annoying warning pops up: > > "The page you are trying to view contains POST data that has expired > from the cache ....". > > Is the anyway for me to code around this in PHP. Preferably the user > would get sent back to A and not B. But if this is not possible can I do > something so the warring does not pop up? > > Thanks! > > Jc > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#118090) next »