public static void CreateContext(HttpContext httpContext) { WebAppConfig.Init(); HttpContextBase context = new OnlineHttpContext(httpContext); Current = context; if (httpContext.Session != null) { context.SessionObject = WebAppHelper.CreateSessionObject(); } }