Ejemplo n.º 1
0
 internal void Application_AcquireRequestState(object sender, EventArgs e)
 {
     Context.Items["TimeRequestState"] = DateTime.Now;
     if (_applicationCore.GetState() == CoreComponentState.Started)
     {
         var context = _applicationCore.Get <SessionBinder>().RestoreUserContextFromRequest();
         if (context != null)
         {
             _applicationCore.GetUserContextManager().SetCurrentUserContext(context);
         }
     }
 }