Re: [PHP] back button and forms

2003-08-21 Thread Marek Kilimajer
If the form changes the state on the server, ie inserts something to the db, you should not output html but instead redirect to another page. Then Back button does not go to the post page but to the form page. Tim Winters wrote: Hello, I have a series of forms set over a few pages. The entrie

RE: [PHP] back button and forms

2003-08-20 Thread Chris W. Parker
Tim Winters on Wednesday, August 20, 2003 10:37 AM said: > So this isn't a unique problem then? No not at all. It's by design (afaik). Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] back button and forms

2003-08-20 Thread Tim Winters
2 450 5500 Cell: 902 430 8498 Fax:: 902 484 7115 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: August 20, 2003 2:37 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] back button and forms Hi, One of the problems Tim, is that POST is not usualy cached on the c

Re: [PHP] back button and forms

2003-08-20 Thread [EMAIL PROTECTED]
Hi, One of the problems Tim, is that POST is not usualy cached on the client side. Even proxies seem to respect that rule and do not cache the page if the method was a POST. If you are sending non critical data and the volume is small you might want to consider a switch from POST to GET for so

Re: [PHP] back button and forms

2003-08-20 Thread Scott Piccotti
On Wednesday, August 20, 2003, at 12:26 PM, Tim Winters wrote: I have a series of forms set over a few pages. The entries are stored in session vars and the whole shebang is written to mySQL via PHP at the end of the series of forms. When the user hits the back button an error message comes u

Re: [PHP] back button and forms

2003-08-20 Thread Chris Sherwood
sorry its actually http://www.php.net/manual/en/function.session-cache-limiter.php - Original Message - From: "Tim Winters" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 20, 2003 9:26 AM Subject: [PHP] back button and forms > Hello, > > I have a series of forms

Re: [PHP] back button and forms

2003-08-20 Thread Chris Sherwood
session.cache_expire is what your looking for I believe http://www.php.net/manual/en/ref.session.php - Original Message - From: "Tim Winters" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 20, 2003 9:26 AM Subject: [PHP] back button and forms > Hello, > > I hav