public OnlineHttpContext(HttpContext httpContext) { _httpContext = httpContext; _httpRequest = new OnlineHttpRequest(httpContext.Request); _httpResponse = new OnlineHttpResponse(httpContext.Response); _httpServerUtility = new OnlineHttpServerUtility(httpContext.Server); if (httpContext.Session != null) _httpSessionState = new OnlineHttpSessionState(httpContext.Session); }
public OnlineHttpContext(HttpContext httpContext) { _httpContext = httpContext; _httpRequest = new OnlineHttpRequest(httpContext.Request); _httpResponse = new OnlineHttpResponse(httpContext.Response); _httpServerUtility = new OnlineHttpServerUtility(httpContext.Server); if (httpContext.Session != null) { _httpSessionState = new OnlineHttpSessionState(httpContext.Session); } }