Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Registering global HttpModule

Registering global HttpModule

Scheduled Pinned Locked Moved ASP.NET
question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gennady Oster
    wrote on last edited by
    #1

    Hi ! I need to create the HttpModule that will work not for specific application, but rather for the whole site, like ISAPI filter defined on the Web Site level. How I can register it without application, and hence without web.config? Seems to be simple question, but I burned away enough time looking for the answer in the internet (including CP site) with no luck. All examples end up in application and it's web.config. May be it is evident, and I simply too dumb to see it? Thanks in advance. Regards, Gennady

    My English is permanently under construction. Be patient !!

    M 1 Reply Last reply
    0
    • G Gennady Oster

      Hi ! I need to create the HttpModule that will work not for specific application, but rather for the whole site, like ISAPI filter defined on the Web Site level. How I can register it without application, and hence without web.config? Seems to be simple question, but I burned away enough time looking for the answer in the internet (including CP site) with no luck. All examples end up in application and it's web.config. May be it is evident, and I simply too dumb to see it? Thanks in advance. Regards, Gennady

      My English is permanently under construction. Be patient !!

      M Offline
      M Offline
      m khansari
      wrote on last edited by
      #2

      hi You should know how the native asp.net httpmodules were registered to the websites and register your own like them I think that they were registered in Machine.config file Hope to be useful

      Mohammad Khansari

      modified on Thursday, January 7, 2010 3:11 AM

      G 1 Reply Last reply
      0
      • M m khansari

        hi You should know how the native asp.net httpmodules were registered to the websites and register your own like them I think that they were registered in Machine.config file Hope to be useful

        Mohammad Khansari

        modified on Thursday, January 7, 2010 3:11 AM

        G Offline
        G Offline
        Gennady Oster
        wrote on last edited by
        #3

        Hi ! Thanks for your response and sorry for delay - I had no access to the internet. Yes, this is one of methodes that I thought about. Another is - place the short web.config to the root of web site. I'm not sure that any one of these methodes is right, so I wanted to get the "authoritive" answer. I'm new in this field, so when my first HttpModule will fail to work, I'd like to exclude the registration mistakes. At least. Regards, Gennady

        My English is permanently under construction. Be patient !!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups