Previous Next

Thread: Intermediate proccessing of messages using a ISAPI extension

Last post 07-09-2008 8:46 AM by HassanSyed. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 04-06-2007, 12:54 AM

    • smk_k
    • Not Ranked
    • Joined on 03-29-2007, 6:36 AM
    • Posts 2
    • smk_k

    Intermediate proccessing of messages using a ISAPI extension

    Hi,

    I want to create a extenstion that accepts certain requests and process them and after that let their normal proccessing happens. These requests that I'm accepting may go to any other application or web site in the IIS server. What I'm doing in this module is preproccessing of requests (for example authentication).

     How can I do this?. I want to do this for both IIS 5.1 and 6.0.  

    Thanks..

  • 04-06-2007, 12:24 PM In reply to

    • thomad
    • Top 25 Contributor
    • Joined on 08-20-2002, 3:28 PM
    • Redmond
    • Posts 387
    • thomad

    Re: Intermediate proccessing of messages using a ISAPI extension

    You have to write an ISAPI filter or you route all requests to ASP.NET and write a managed IHttpModule.

    Option 1 is requires you to write low-level C++ code, option 2 comes with performance issues.

     Hope this helps.

    Thomas Deml
    Senior Program Manager
    Internet Information Services
    Microsoft Corp.
  • 07-09-2008, 8:46 AM In reply to

    • HassanSyed
    • Not Ranked
    • Joined on 07-08-2008, 6:18 AM
    • Posts 4
    • HassanSyed

    Re: Intermediate proccessing of messages using a ISAPI extension

     filters are nasty, but I think if your going for both iis 5 and 6 that might be your only choice. if you stick to IIS 6 you can write wild card ISAPI extensions which get run before all other extensions.You pretty much have the option to do anything with these extensions.

    I'm currently working on this for one my projects.

Page 1 of 1 (3 items)
Page view counter