I am working on a 2 page form that POST requests a database. Read only, no write. None of this data is confidential, and each of them will not.
The site must be 100% incompatible with JS, therefore Ajax, etc. unavailable. All I got is PHP, baby!
FORM-2 content depends on the proportion of data in FORM-1 , but ALL data in FORM-1 must also be sent with the final request contained in FORM-2
It occurred to me that I can transfer data from FORM-1 to FORM-2 two different ways:
1) SEND FORM-1 variable data at SESSION
2) Send FORM-1 variable data to hidden fields on FORM-2
They seem to be about equally complex / easy to implement, so I'm curious about security, etc.
Also, in any case, if I FORM-1 -> FORM-2 -> Results and I donβt like my results, can I go Back Button twice to FORM-1 and still have all the data written, etc. .?
source share