mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#19346: Fixing session state behavior setup.
Work Item: 19346 --HG-- branch : 1.x
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user