Re: Avoiding "Warning - Page Expired"
| From: | Tom Rogers | Date: | Tue, 30 Sep 2003 14:25:02 +0000 |
| Subject: | Re: Avoiding "Warning - Page Expired" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164398@lists.php.net to get a copy of this message | ||
Hi,
Wednesday, October 1, 2003, 12:10:10 AM, you wrote:
EC> Is there any way to avoid having this happen using php if someone sits
EC> on a page too long and clicks the back button to go back to a form they
EC> have filled out and not having the values in a session?
EC> Thanks,
EC> Ed
To avoid that I always do a header redirect after processing a post from a form,
that way the browser forgets about the page in the middle and avoids that error
showing up. The down side is you have to save any errors in a session variable
and show them on the next page, but it is worth it I think.
--
regards,
Tom