We need to display a message when the user feedback is saved, but without leaving the user on the page which is the response of the post of the form, to avoid re-posting the data (by browser refresh).
We use PRG for this (https://en.wikipedia.org/wiki/Post/Redirect/Get) and we need a way to display a success message on the last Get.
A transportation of the message on the session is probably the way to go, making sure we destroy it after using it the first time.
We need to display a message when the user feedback is saved, but without leaving the user on the page which is the response of the post of the form, to avoid re-posting the data (by browser refresh). We use PRG for this (https://en.wikipedia.org/wiki/Post/Redirect/Get) and we need a way to display a success message on the last Get. A transportation of the message on the session is probably the way to go, making sure we destroy it after using it the first time.