Doorgaan naar de website
OCLC Support

LoginCookieDomain

Learn how to use the LoginCookieDomain config.txt directive to specify the domain EZproxy should use when setting a session cookie during login.

LoginCookieDomain specifies the domain that EZproxy should use when setting its session cookie during login. The DomainName behavior is the default behavior as it has the widest compatibility across all browsers. When using any of the other options, be sure to test a variety of browsers on a variety of operating systems to insure the session cookie successfully.

If Option SafariCookiePatch is present in config.txt, its behavior overrides the LoginCookieDomain behavior for users who are accessing with the Safari browser.

Qualifiers

Qualifier Description
Default When Default is specified, the behavior is the DomainName behavior described below.
DomainName If the EZproxy server name is its IP address, then use the IP address; for hostnames, use everything from the first period to the end of the hostname (e.g., for ezproxy.yourlib.org, use .yourlib.org).
HostName If the EZproxy server name is its IP address, then use the IP address; for hostnames, use a period followed by the complete server name (e.g., for ezproxy.yourlib.org, use .ezproxy.yourlib.org).
Manual name Use the name provided for the domain when setting the cookie.
None The cookie should be set without specifying a domain.

Syntax

LoginCookieDomain Default | DomainName | HostName | Manual name | None

Examples

Direct EZproxy to set its session cookie in the ezproxy.yourlib.org domain.

LoginCookieDomain Manual ezproxy.yourlib.org

Direct EZproxy not to specify a domain when setting its session cookie.

LoginCookieDomain None