How can I let the user their session is expiring / prompt then to log back in while preserving state #1962
Unanswered
NathanBate
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Inertia + Vue.js, and I want to prompt the user to renew their session or have them log back in if their session has expired while preserving the state. I have a session variable that I check via fetch to see when the last session activity was. And, I plan to use fetch to re-login the user. How do I refresh Inertia so that it knows that the user has relogged in? Do I just use the Inertia reload with preserve state and it will pick up on the new session?
Beta Was this translation helpful? Give feedback.
All reactions