Dela via


DefaultHttpContext.Session Property

Definition

Gets or sets the object used to manage user session data for this request.

public:
 virtual property Microsoft::AspNetCore::Http::ISession ^ Session { Microsoft::AspNetCore::Http::ISession ^ get(); void set(Microsoft::AspNetCore::Http::ISession ^ value); };
public override Microsoft.AspNetCore.Http.ISession Session { get; set; }
member this.Session : Microsoft.AspNetCore.Http.ISession with get, set
Public Overrides Property Session As ISession

Property Value

Applies to