Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

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

Anonymous Piwik user Anthon Pang Matthieu Aubry
Anonymous Piwik user

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.

Anthon Pang

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 Piwik user

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.

Matthieu Aubry

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

Anonymous Piwik user

Attachment: patch to remove a single value from a cookie

Anonymous Piwik user

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

Matthieu Aubry

looks good to me

Anthon Pang

(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.