Can HttpHandler or HttpModule trap image requests?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Can HttpHandler or HttpModule trap image requests?

    Can an HttpHandler or HttpModule be invoked on non-ASP.NET pages such as
    images or ASP or HTML pages? Can I trap a request for those pages? If not,
    how might I trap those requests?


    Peter Rilling Guest

  2. Similar Questions and Discussions

    1. authentication for httphandler
      Hi, I have several httphandlers in a web app. I need to set up a very simple authentication system for users to access these handlers. The...
    2. Interceptor, HttpModule, WSE
      I've developed a framework for ASP.NET with a custom authentication module (HttpModule). This module is already working. This framework should also...
    3. HttpModule
      Is it possible to capture a request as it hits the server and before the post data has been completely sent to the web server? Thanks~
    4. HttpHandler not working :-)
      I have a simple HttpHandler //-- using System.Web; namespace Acme { public class SimpleHandler : IHttpHandler { public void...
    5. HttpModule for ASP and ASP.NET URL filtering
      I'm interested in writing an HttpModule to clean up URLs for a site that's in a transitional phase from ASP to ASP.NET. Basically, I'd like to hide...
  3. #2

    Default Re: Can HttpHandler or HttpModule trap image requests?

    I think you can:

    I guess you have to register the handlers for certain file extensions - e.g.
    ..gif and the modules see all the requests (URLs) anyway.

    Dhananjay

    "Peter Rilling" <peter@nospam.rilling.net> wrote in message
    news:u5L4qOrWDHA.1632@TK2MSFTNGP11.phx.gbl...
    > Can an HttpHandler or HttpModule be invoked on non-ASP.NET pages such as
    > images or ASP or HTML pages? Can I trap a request for those pages? If
    not,
    > how might I trap those requests?
    >
    >

    Dhananjay Modak Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139