I'm working on a 2 page form that POST
s a query to a database. Read-only, no writing. None of the information is confidential, nor will it every be.
The site must be 100% non-JS compliant, so Ajax and the like are not available. All I got is PHP, baby!
FORM-2
's content is dependent on a fraction of the data in FORM-1
, but ALL of the data in FORM-1
must also be submitted with the final query contained in FORM-2
It's occurred to me that I could do the data hand-off from FORM-1
to FORM-2
two different ways:
1) POST the FORM-1
variable data to a SESSION
2) POST the FORM-1
variable data to hidden fields on FORM-2
They seem about equally difficult/easy to implement, so I'm wondering about security and such...
Also, in either instance, if I FORM-1 -> FORM-2 -> Results
and don't like my results, can I Back Button
twice to FORM-1
and still have all the data checked, written, etc?