Exemplo n.º 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);
            //}
        }
Exemplo n.º 2
0
 public FrontHttpResponseWrapper(HttpResponse httpResponse, FrontHttpContextWrapper context)
     : base(httpResponse)
 {
     //httpResponse.Filter = new ObserveResponseLengthStream(httpResponse.Filter);
     _context = context;
 }