WSFederationAuthenticationModule.PersistentCookiesOnPassiveRedirects 属性
定义
获取或设置指定是否对成功的身份验证颁发一致的会话 Cookie 的值。Gets or sets a value that specifies whether a persistent session cookie is issued on successful authentication.
public:
property bool PersistentCookiesOnPassiveRedirects { bool get(); void set(bool value); };
public bool PersistentCookiesOnPassiveRedirects { get; set; }
member this.PersistentCookiesOnPassiveRedirects : bool with get, set
Public Property PersistentCookiesOnPassiveRedirects As Boolean
属性值
如果发出持久性会话验证 Cookie,则为 true;否则为 false。true to issue a persistent session cookie; otherwise, false.
注解
可以通过为事件添加处理程序,在每个 HTTP 请求上覆盖此设置 SessionSecurityTokenCreated 。You can override this setting on each HTTP request by adding a handler for the SessionSecurityTokenCreated event. 从 security token service (STS) 处理 WS-Federation 登录响应消息时,从请求处理管道引发此事件。This event is raised from the request processing pipeline when processing a WS-Federation sign-in response message from a security token service (STS).