語言

SessionStateSection.UseHostingIdentity 屬性

定義

取得或設定一個值,指定會話狀態是否在可用時使用用戶端模擬,或總是回復到主機身份。

public:
 property bool UseHostingIdentity { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("useHostingIdentity", DefaultValue=true)]
public bool UseHostingIdentity { get; set; }
[<System.Configuration.ConfigurationProperty("useHostingIdentity", DefaultValue=true)>]
member this.UseHostingIdentity : bool with get, set
Public Property UseHostingIdentity As Boolean

屬性值

true若網頁應用程式應回復為主機身份;否則,。 false 預設值為 true。

屬性

適用於