Skip to content

psSessionCookieSameSite - cWebSessionManager

Determines the SameSite attribute of the session cookie

Type: Property
Access: Read/Write
Data Type: String
Parameters: None

Syntax

Property String psSessionCookieSameSite
Access Type Syntax
Read Access: Get psSessionCookieSameSite to StringVariable
Write Access: Set psSessionCookieSameSite to StringVariable/Value

Description

Determines the SameSite attribute of the session cookie.

The SameSite cookie attribute allows you to declare if your cookie should be restricted to a first-party or same-site context.

Valid Values:

Constant Meaning
"Lax" (Default) Cookies are allowed to be sent with top-level navigations and will be sent along with GET request initiated by third party website.
"Strict" Cookies will only be sent in a first-party context and not be sent along with requests initiated by third party websites.
"None" Cookies will be sent in all contexts, i.e sending cross-origin is allowed.

See Also

psSessionCookieName | psSessionCookiePath | psSessionCookieDomain