BBjJettyContextConfiguration::getSessionCookieSameSite
Description
In BBj 21.03 and higher, this method returns the value of the SameSite attribute for the session cookie of this context.
Syntax
|
Return Value |
Method |
|---|---|
|
String |
getSessionCookieSameSite() |
Parameters
None.
Return Value
Returns the value of the SameSite attribute for the session cookie of this context. Valid values are "lax", "strict", and "none". Returns an empty string if no value has been set.
Remarks
With recent browser updates, cookies must set the Secure and SameSite=None attributes to be sent successfully from a page hosted inside an iframe. The SameSite attribute can also be configured in bbj_home/cfg/jetty.xml by adding a session-cookie-samesite attribute to a <context> tag, or from the Enterprise manager at EM: Web > Context Configuration.