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 请求的会话状态对象。

适用于