Cookie Filter

Removes cookies or converts persistent cookies to session cookies.

Cookies are widely used by commercial websites to keep track of the pages their users visit, which allows them to show better-targeted banners, send spam E-mails advertising products related to those websites, etc.

Completely disabling cookies may break many sites that rely on cookie mechanism for legitimate purposes like saving preferences, etc.

To learn more about HTTP cookies you can check out these pages:

www.cookiecentral.com/faq
www.w3.org/Security/Faq
wp.netscape.com/newsref/std/cookie_spec.html

Parameters

action

The action parameter defines cookie blocking mode. Cookies may be either deleted completely or converted to session cookies.

action = delete

Deletes cookies. May break logic of many web sites.

action = session

Converts cookies to session cookies. Session cookies do not have expiration date; they will be deleted by the browser when current session is over (all browser windows are closed).

Note: If you create more then one instance of Cookie Filter, only first that matches current page will be applied. It is recommended to have two instances: first deletes cookies and matches only a bunch of evil sites, like spylog.com. The second filter convert cookies to session cookies and matches all sites with exceptions of a few websites that use cookies to store user preferences, etc. (e.g. zap2it.com)

See also Common Filter Parameters.