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

unset cookie value if set(name, val) is called with val = Null #736

Closed
anonymous-matomo-user opened this issue May 18, 2009 · 7 comments
Closed
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@anonymous-matomo-user
Copy link

There should be a way to unset single cookie values.

I think it should be ok to unset a cookie value if the set method is called with a Null value.

This would save some bandwidth on multipage-installs with the next version of the BlockingCookie plugin.

@robocoder
Copy link
Contributor

Set the cookie expiry in the past. The browser, however, may not delete it until it exits.

In any case, we plan to implement first party cookies.

@anonymous-matomo-user
Copy link
Author

single values, I don't want to delete the whole cookie.

I want to delete a specific value from a cookie, only one without affecting others.

@mattab
Copy link
Member

mattab commented May 30, 2009

black silence, please submit a patch and we'll consider...

@anonymous-matomo-user
Copy link
Author

Attachment: patch to remove a single value from a cookie
unset_cookie_value.patch

@anonymous-matomo-user
Copy link
Author

here you go. this patch will unset a cookie value if the set() method is called with a Null value

@mattab
Copy link
Member

mattab commented Jun 3, 2009

looks good to me

@robocoder
Copy link
Contributor

(In [1238]) fixes #736 - feature request to unset cookie value via set(name, null)

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 0.4.1 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

3 participants