-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
maxAge should be in seconds #7
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A cookie's
Max-Age
is the number of seconds until expiration, so the following code doesn't do what the author intended.An hour is
60*60=3600
seconds, it looks like this code is treating the max age as milliseconds.The text was updated successfully, but these errors were encountered: