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

Add an option to filter session cookies in getCookies or deleteCookies command #654

Open
lutien opened this issue Feb 8, 2024 · 0 comments
Labels
needs-discussion Issues to be discussed by the working group storage

Comments

@lutien
Copy link
Contributor

lutien commented Feb 8, 2024

At the moment, since expiry field of the filter is optional if it is set to null or undefined in getCookies or deleteCookies, it will be omitted when matching the cookies. Which means that there is no way to specifically filter the cookies which have expiry field not set. Not sure if it's something what clients would want.
If, yes, one option would be to specify the behavior for null value for expiry field to filter for session cookies. Another option could be to have a special filter field, e.g.isSession.

@whimboo whimboo added needs-discussion Issues to be discussed by the working group storage labels Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-discussion Issues to be discussed by the working group storage
Projects
None yet
Development

No branches or pull requests

2 participants