Replies: 2 comments
-
I use sessions for that now. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@pquerner Indeed session seems like the best bet for this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I have a route which update some model, but in order to do that it needs to run some checks.
If the checks fail, I want to redirect back to the "edit" page and add a message to the frontend, what went wrong.
I thought I could do it like that:
Setting on the express instance itself (app.set) is persistant for all following request. (Which I do not want)
Beta Was this translation helpful? Give feedback.
All reactions