Skip to main content
A newer version of this page is available. .

OfficeWorkSessionProcessing Class

Process work sessions in an application in stateless mode.

Namespace: DevExpress.Web.Mvc

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

Declaration

public class OfficeWorkSessionProcessing :
    ActionFilterAttribute

Remarks

Add the OfficeWorkSessionProcessing attribute to an application in stateless mode or when you apply recommendations from the https://github.com/DevExpress/aspnet-office-solutions example.

If an application is not used in stateless mode, adding the OfficeWorkSessionProcessing attribute does not affect DevExpress controls’ functionality in other scenarios.

You can set the OfficeWorkSessionProcessing attribute for a certain controller…

[OfficeWorkSessionProcessing]   
public class HomeController : Controller

… or you can register it for the whole application.

public class FilterConfig {
    public static void RegisterGlobalFilters(GlobalFilterCollection filters) {
        ...
        filters.Add(new DevExpress.Web.Mvc.OfficeWorkSessionProcessing());
    }
}

Inheritance

See Also