Re: Posting to a form - When user hits BACK button all the data isgone
| From: | Michael Davey | Date: | Thu, 30 May 2002 19:13:11 +0000 |
| Subject: | Re: Posting to a form - When user hits BACK button all the data isgone | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99986@lists.php.net to get a copy of this message | ||
The best way to do this is to register your form data as session variable
when it is processed on the second page. Then add some scripting in the
first page to check for these variables and pre-populate the form as
necessary...
Mikey
"Phil Schwarzmann" <pschwar@jhmi.edu> wrote in message
news:scf63bb9.025@cis27.hosts.jhmi.edu...
> When a user is posting data to a form and hits SUBMIT the user is taken
> to another page. But when the user hits the BACK button on his browser,
> all the posted data is gone.
>
> How can I get this data to remain there when a user hits BACK ?
>
> Thanks!!!!!!!!!!
>