Skip to content


Subversion checkout URL

You can clone with
Download ZIP


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

anonymous-piwik-user opened this Issue · 7 comments

3 participants


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.


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.


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.


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


Attachment: patch to remove a single value from a cookie


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


looks good to me


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

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 0.4.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.