Session variables to store form processing information
Posted: Sun Nov 13, 2005 1:53 pm
Hi,
I've been playing with an idea for a while now and would like to know of any problems you can see with the following design:
Any Constructive feedback would be appreciated
I've been playing with an idea for a while now and would like to know of any problems you can see with the following design:
- A form is generated from a template-like file
- In the template, processing information for each field, such as database column which to store the input and the filter/validate functions, are set
- When the template is parsed, the process information for each field is stored in session variables
- When the form is submitted it will be handled according to the stored information
Any Constructive feedback would be appreciated