語言

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 登入回應訊息時,從請求處理管線中觸發。

適用於

另請參閱