Beispiel #1
0
        void application_PostResolveRequestCache(object sender, EventArgs e)
        {
            HttpContextBase context = new FrontHttpContextWrapper(((HttpApplication)sender).Context);

            this.PostResolveRequestCache(context);
            //if (Site.Current != null)
            //{
            //    UrlRedirect(context);
            //}
        }
 public FrontHttpResponseWrapper(HttpResponse httpResponse, FrontHttpContextWrapper context)
     : base(httpResponse)
 {
     //httpResponse.Filter = new ObserveResponseLengthStream(httpResponse.Filter);
     _context = context;
 }