The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebApplication.SetInstance(HttpSessionState, WebApplication) Method

Assigns the WebApplication instance to the SessionApplicationVariable Session variable.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v19.1.dll


public static void SetInstance(
    HttpSessionState session,
    WebApplication application
Public Shared Sub SetInstance(
    session As HttpSessionState,
    application As WebApplication


Name Type Description
session HttpSessionState

A HttpSessionState object, which provides access to session-state values, session-level settings and lifetime management methods.

application WebApplication

A WebApplication instance.


This method is used in the Session_Start method (see Global.asax.cs or Global.asax.vb in the ASP.NET application project).

See Also