-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delete session and delete user not working.. #34
Comments
Working for me. I'm using it like this:
Not sure this way is necessary or better, though. This library is great but could definitely use better docs. |
I'm seeing odd behavior as well. At logout, I call api to do server logout, delete session and user and then update store.
After debugging, redux-react-session is telling me that the session is gone, but I still see it in IndexedDB. I'm using default storage, so session and user are stored in IndexedDB>redux-react-session>keyvaluepairs. I'm worried that if those values aren't cleared that they'll somehow be reloaded. So technically, this works, but I'm afraid I'll get a bug later that will be hard to find. Also, from a debugging standpoint, it would be nice to look in developer tools and tell whether I have a session or not. |
I just changed storage methods and now I'm seeing the behavior I expected. From |
I am still experiencing this issue. When I reload my page GET_SESSION_SUCCESS gets called automatically |
Has any one else experienced deleteSession() or deleteUser() not working?
Are there any working examples?
This is what I'm using but it doesn't affect any cookies, etc
The text was updated successfully, but these errors were encountered: