> If the form page is not being cached, it would probably get reloaded
> when they clicked back, thus losing the data.
>
> I'd suggest redrawing the form with the fields populated and with the
> appropriate error messages. Then you don't need to mess with caches or
> sessions for that matter, and the user doesn't need to take an extra
> step to get back to the form.
yep, best way is to move the control of your form into the php script
itself, so the script can spit up the form with errors, saying "you screwed
this, and that up" instead of making them go back, which 90% of the time
will force them to re-enter the data, and we all know how much that sucks :)
in short, don't use the php script like most people use cgi scripts. have it
control the entire peocess.
-alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]