A newer version of this page is available. Switch to the current version.

OfficeWorkSessionProcessing Class

Process work sessions in an application in stateless mode.

Namespace: DevExpress.Web.Mvc

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


public class OfficeWorkSessionProcessing :


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...

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());


See Also