#Advanced form keep data trough form and handler
11 messages · Page 1 of 1 (latest)
I would like to do an advanced for when user submit the form 1 i send the form 2 but keep the data somewhere so at the end i've all the data
But i cannot find what technique without using a database if i use variables i do not know if i've five user that submit the form at the same time i do not want the value to get reassigned
Sharing what is a lot of data, form, to submit, handler, and value to you might help us to understand your inquiry.
You would need an identifier to track state as http is stateless
You could generate an identified when the start of the journey is requested and is sent with the subsequent form submissions
On the backend, you maintain the state which can be queried from each handler as form submissions come in
@north forge im sorry but can you show a sample example you make me confused
I'm totally confused
@north forge sorry im not enough advanced so i past your message to chat gpt
It show me what you mean and but the code use sync.Mutex i would like you to explain if you can