-
Notifications
You must be signed in to change notification settings - Fork 602
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
Cookie store session always expires after cookie Expiration Time even with user activities #1134
Comments
@msalahz what is your cookie expiration time? |
@stevenwu I tried 30 sec and 1 min to test but it always expires when I have browser tab opened |
The absolute cookie expiration time is only extended every 60 seconds. If the configured expiration time is below that the cookie will actually expire before it can be extended. Please try an expiration time of 90 seconds or so. There should certainly be a warning when an expiration setting that's below the extension interval is detected. Also, what's your motivation for such a short expiration? |
I was just making a quick testing @marcoow, and I didn't know about extended period. I tested this with 90 sec and it's working fine Thank you! |
Reopening this as we should have a warning logged when we detect the expiration is below the renewal interval. |
I'm using ember simple auth using cookie store and session always expires after cookie Expiration Time even with user activities. Is this is the default behavior ? Shouldn't we renew session expiration if user is not idle
Ember 2.9.1
Ember Data 2.10.0
Ember Simple Auth 1.1.0
The text was updated successfully, but these errors were encountered: