共用方式為


SessionAffinityConfig.AffinityKeyName Property

Definition

Identifies the name of the field where the affinity value is stored. For the cookie affinity policy this will be the cookie name. For the header affinity policy this will be the header name. The policy will give its own default if no value is set. This value should be unique across clusters to avoid affinity conflicts. https://github.com/microsoft/reverse-proxy/issues/976 This field is required.

public string AffinityKeyName { get; init; }
member this.AffinityKeyName : string with get, set
Public Property AffinityKeyName As String

Property Value

Applies to