Skip to main content
OCLC Support

CookieFilter

Learn how to use the CookieFilter config.txt directive in EZproxy to specify the name of a cookie that should be blocked from passing through to remote web servers.

CookieFilter specifies the name of a cookie that should be blocked from passing through EZproxy to remote web servers. CookieFilter is typically used in environments in which an application on a separate server in the same domain sets a domain-based cookie which is being "seen" by the EZproxy server, but which should not be forwarded on to any remote web servers. For example, a local cookie with a value that coordinates single sign-on across multiple servers.

CookieFilter is a repeatable, position-independent config.txt directive.

Qualifiers

Qualifier Description
name The name of the cookie to block.

Syntax

CookieFilter name

Examples

Block the cookie named SomeLocalCookie from passing through EZproxy.

CookieFilter SomeLocalCookie

Related directives

ExtraLoginCookie