affinityCookieTtlSec property

int? affinityCookieTtlSec
getter/setter pair

Lifetime of cookies in seconds.

This setting is applicable to Application Load Balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

Implementation

core.int? affinityCookieTtlSec;