luminus

Mark McWiggins 2021-05-02T05:45:49.018100Z

question about chained {:post ] URLS ... the first one works OK but I need a parameter "carried through" to the next URL so it can be displayed on that page ... anybody got an example of this for the home.clj routes source for Luminus?

tobias 2021-05-02T13:45:04.018700Z

You can add data to the :flash key of the response, and then access that data in the next handler. Here's what it looks like with the food guessing game app: https://github.com/jtlocsei/hello-world-web-app/commit/8f654746297f817aca95bb62b06c70de3a16a849 Explanation of :flash in the Luminus docs: https://luminusweb.com/docs/sessions_cookies.html The :flash key is used in the demo guestbook app as a way to give feedback on errors in a form: https://luminusweb.com/docs/guestbook.html#creating_pages_and_handling_form_input

Mark McWiggins 2021-05-02T16:17:21.018900Z

Thanks much!