Re: Page has expired (with forms)
| From: | speedboy | Date: | Wed, 07 Nov 2001 21:53:51 +0000 |
| Subject: | Re: Page has expired (with forms) | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14120@lists.php.net to get a copy of this message | ||
> When using some script, that handle a form with method=post and
> action="<? echo $PHP_SELF ?>", after some unsuccessful attempts (user
> didn't fill some fields) using back button represents us a very colourful
> screen (page has expired). How can we avoid this?
You can use header calls.
if (all fields are ok) {
header("Location: http://www.domain.com/finished.php");
}
You won't get page has expired messages.