语言

WSFederationAuthenticationModule.PersistentCookiesOnPassiveRedirects 属性

定义

获取或设置一个值,该值指定是否在成功身份验证时颁发永久性会话 Cookie。

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

属性值

true 发出永久性会话 Cookie;否则,为 false.

注解

可以通过为事件添加处理程序来覆盖每个 HTTP 请求的 SessionSecurityTokenCreated 此设置。 从安全令牌服务(STS)处理 WS-Federation 登录响应消息时,从请求处理管道引发此事件。

适用于

另请参阅