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

question: how are cookies managed? #3

Open
Danfro opened this issue Nov 12, 2021 · 3 comments
Open

question: how are cookies managed? #3

Danfro opened this issue Nov 12, 2021 · 3 comments
Labels
question Further information is requested

Comments

@Danfro
Copy link

Danfro commented Nov 12, 2021

Because cookies are useful but can be bad, I would like to know how cookies are managed by the app?

Are they cleared when the app is closed? If not, that would be a nice option for a future release.

@nicolascolla
Copy link
Owner

nicolascolla commented Nov 13, 2021

The documentation for webapp-container says the following:

--store-session-cookies Store session cookies on disk

The app runs without this flag, so I imagine that no cookies are being stored on disk. However, the cookie banners don't seem to reappear after an app relaunch, so I wonder if it is enabled by default. Maybe the overlay (--open-external-url-in-overlay) does store all cookies by default.

@Danfro
Copy link
Author

Danfro commented Nov 13, 2021

There are cookies stored on disk under home/.local/share/headline.collaproductions/. In my case there are some cookies in there e.g. for the guardian. That rss is removed now, but it was in your initial version. So cookies stay stored. That of course needs to be true for the cookie banners to not reappear.

Isn't a session cookie one that should get cleared after the app is closed? So I assume the default is to store all cookies and keep them.

@nicolascolla
Copy link
Owner

nicolascolla commented Nov 13, 2021

I have tried deleting all cookies, reopening the app with --store-session-cookies, and cookies remain stored after closing the app. So I think the behaviour is related to the overlay.

@nicolascolla nicolascolla added the question Further information is requested label Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants