WebPageRenderingBase.Session Property

When overridden in a derived class, gets the HttpSessionState object for the current HTTP request.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public virtual HttpSessionStateBase Session { get; }

Property Value

Type: System.Web.HttpSessionStateBase
Session data for the current request.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.