BBjJettyContextConfiguration::setSessionCookiePartitioned

Description

In BBj 24.00 and higher, this method sets the session-cookie-partitioned attribute for this context to the given boolean value, controlling whether the Partitioned flag is applied to all cookies set by this context.

Syntax

Return Value

Method

void

setSessionCookiePartitioned(boolean partitioned)

Parameters

Variable

Description

partitioned

The value of the Partitioned flag to set on cookies in this context.

Return Value

None.

Remarks

The Partitioned flag (CHIPS — Cookies Having Independent Partitioned State) restricts cookies to the top-level site context in which they were set. Setting this flag prevents cross-site cookie access while still allowing the cookie to be sent in third-party contexts such as iframes.

See Also

BBjAPI

BBjJettyContextConfiguration

BBjJettyContextConfiguration::isSessionCookiePartitioned()