Search

You searched for the word(s): userid:880232

Matching Posts

  • Re: Request.Filter

    I have come across the same problem. Request.Filter is just not working, my custom stream class code is never called, though for Response.Filter it works ok.
    Posted to HttpHandlers and HttpModules (Forum) by mulisak on 7/10/2009
  • Re: Request.Filter

    I have got it working, see example here: http://msdn.microsoft.com/en-us/library/system.web.httprequest.filter.aspx If you need to do filtering in http module, use the code below. My problem was that before attaching the filter I checked for HttpContext.Current.Request.InputStream.Length > 0 which must have had a side effect of reading the input stream and bypassing filtering. public class FilterHttpModule : System.Web.IHttpModule { void IHttpModule.Dispose() { } void IHttpModule.Init(HttpApplication
    Posted to HttpHandlers and HttpModules (Forum) by mulisak on 7/10/2009
Page 1 of 1 (2 items)