diff --git a/src/Orchard/Mvc/Routes/ShellRoute.cs b/src/Orchard/Mvc/Routes/ShellRoute.cs index cadc41c96..3d11576e4 100644 --- a/src/Orchard/Mvc/Routes/ShellRoute.cs +++ b/src/Orchard/Mvc/Routes/ShellRoute.cs @@ -50,9 +50,6 @@ namespace Orchard.Mvc.Routes { if (routeData == null) return null; - // push provided session state behavior to underlying MvcHandler - effectiveHttpContext.SetSessionStateBehavior(SessionState); - // otherwise wrap handler and return it routeData.RouteHandler = new RouteHandler(_workContextAccessor, routeData.RouteHandler, SessionState); routeData.DataTokens["IWorkContextAccessor"] = _workContextAccessor;