Re: Forms lose data when going "back" in browser
| From: | Julio Nobrega Trabalhando | Date: | Wed, 28 Nov 2001 16:48:07 +0000 |
| Subject: | Re: Forms lose data when going "back" in browser | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75901@lists.php.net to get a copy of this message | ||
Register the submited vars values on a session and echo them inside the
value="" part (or similar behavior, selected, checked, etc...) of your form
fields.
--
Julio Nobrega
No matter where you go, &this.
"Zavier Sheran" <aaaweb@zavier.net> wrote in message
news:B8268099.10EA%aaaweb@zavier.net...
> I have a submission form distributed over 5 pages. When the user hits the
> "back" button in the browser on one of the pages to make changes on a
> previous page, all fields are emptied. This is only when I have a session
> running. When I use the same pages without the session, the data stays in
> the form.
>
> So I understand that the session expires the page immediately after
leaving
> it. Is there a way to give the page a few minutes before it expires or a
> similar behaviour?
>
> Thanks a lot.
>
> -Zavier
>