Update session on refresh the page #250
Unanswered
rahmat-dev
asked this question in
Q&A
Replies: 1 comment
-
You control the session storage object so you can call the getSession and commitSession methods to update the user data. If the session data is stored in a cookie I recommend you to store the minimal info, eg the user ID, and query the rest from the DB. If you store the session data somewhere else you can edit it manually. |
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
-
I try to update the user manually from database client. When I refresh the page, the user is not updated. How to update user session when I refresh the page?
Beta Was this translation helpful? Give feedback.
All reactions