Szerkesztés

Megosztás a következőn keresztül:


SessionStateSection.UseHostingIdentity Property

Definition

Gets or sets a value specifying the whether the session state will use client impersonation when available, or will always revert to the hosting identity.

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

Property Value

true if Web application should revert to hosting identity; otherwise, false. The default value is true.

Attributes

Applies to