I am creating a Flask based web application. On my homepage, I take certain inputs from the user and use them in other routes for doing certain operations. I am currently using global
but I know that's not a good way.
I looked for Sessions
in Flask but my web app doesn't register a user, so I don't know how session would work in that case. In a nutshell:
- Webapp doesn't require user to register
- A user select passes three
lists
of arguments coming through the form. - These three lists, list of floats, list of string and list of integers, have to be passed to other routes for processing information.
Is there any neat way to do it?