共用方式為


HttpContext.Session 屬性

定義

取得或設定 物件,這個物件用來管理此要求的使用者會話資料。

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

屬性值

適用於