From 81f0e03ab343e44dc5e4d8800ff1612e6b54a492 Mon Sep 17 00:00:00 2001 From: Piotr Szmyd Date: Fri, 10 May 2013 14:32:06 +0200 Subject: [PATCH] #19346: Fixing session state behavior setup. Work Item: 19346 --HG-- branch : 1.x --- src/Orchard/Mvc/Routes/ShellRoute.cs | 3 --- 1 file changed, 3 deletions(-) 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;