DEV Community

Discussion on: Guest Login in JavaScript 🀯

rajeshj3 profile image
Rajesh Joshi Author

Will the user credentials persist across sessions?

Yes, the session will persist untill you remove the user data from indexedDB or the session expires.

What happens if they close their browser?

The session will persist even after you restart your system itself.

Some comments have been hidden by the post's author - find out more