Skip to content
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

Override maxAge like expires to force cookie removal #40

Merged
merged 1 commit into from
Nov 27, 2016

Conversation

p-j
Copy link

@p-j p-j commented Sep 1, 2016

Hi,

Thanks for this package.

As the title say, for the sake of consistency, if we override the expires to set a date in the past that would trigger the cookie removal, we should do the same with maxAge.
That prevent cookies existing with contradictory information: expires in the past but maxAge in the future.

@eXon eXon merged commit 6209499 into bendotcodes:master Nov 27, 2016
@eXon
Copy link
Collaborator

eXon commented Nov 27, 2016

Thanks for the PR! 👍

@p-j p-j deleted the feat/maxAge-on-remove-cookie branch November 28, 2016 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants