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:[EMAIL PROTECTED]] > Sent: Sunday, September 29, 2002 1:24 PM > To: [EMAIL PROTECTED] > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php