Form variables vs Sessions
| From: | John W | Date: | Wed, 30 Oct 2002 04:56:09 +0000 |
| Subject: | Form variables vs Sessions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-121986@lists.php.net to get a copy of this message | ||
I am having a problem with a form system that I am developing. It is a multi page form with over a
hundred different possible variables. The problem that I'm having is that when a user enters
invalid data on one page and then submits to the next page I want that page to go back to the
previous page with the form fields already filled in. Currently I have the form going to the
previous page with a custom error message, but am having a problem with getting the fields filled
in. I pass the variables from page to page by using PHP to convert them to hidden form fields. I
have considered using sessions but am concerned with the high overhead due to the number of
variables. Any help with this problem would be greatly appreciated.Get more from the Web. FREE MSN
Explorer download : http://explorer.msn.com