共用方式為


HttpContextWrapper.Session 屬性

定義

取得目前 HTTP 要求的 HttpSessionStateBase 物件。

public:
 virtual property System::Web::HttpSessionStateBase ^ Session { System::Web::HttpSessionStateBase ^ get(); };
public override System.Web.HttpSessionStateBase Session { get; }
member this.Session : System.Web.HttpSessionStateBase
Public Overrides ReadOnly Property Session As HttpSessionStateBase

屬性值

HttpSessionStateBase

目前 HTTP 要求的工作階段狀態物件。

適用於