Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
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
Now, what issues might arise from this design? Could the session time out too quickly if the user is editing a particularly long form? What are the security concerns?