public HttpContextClone(HttpContextBase context) { this.error = context.Error; this.allErrors = context.AllErrors; this.debuggingEnabled = context.IsDebuggingEnabled; this.customErrors = context.IsCustomErrorEnabled; this.postNotification = IsMicrosoftRuntime && context.IsPostNotification; this.timestamp = context.Timestamp; this.skipAuthorization = context.SkipAuthorization; this.user = context.User; request = new HttpRequestClone(context.Request); }