Previous Next

Thread: Additional / Second Intercept for ISAPI

Last post 07-24-2008 1:01 PM by 1Spatial. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 07-21-2008, 9:11 AM

    • 1Spatial
    • Not Ranked
    • Joined on 07-21-2008, 9:10 AM
    • Posts 2

    Additional / Second Intercept for ISAPI

    Hi,

    I work with a .net application that embeds calls to another ISAPI
    service to return images.  The images never exist but are streamed
    with a request like... .../GetImage.IMG?Size=10,10&Format=PNG&etc
    That is from a third party and all works 100%.  Great.

    What I would like to do is introduce an additional process (I
    originally thought IHttpHandler) to catch the images just before they
    are returned to place my own overlay (copyright) on them.  Any
    suggestions greatly appreciated.

     Thanks in advance, Cris

     

  • 07-21-2008, 2:35 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 1,223

    Re: Additional / Second Intercept for ISAPI

    On IIS7, you could use an IHttpModule to intercept a response generated by an ISAPI extension - on IIS6 and earlier, using a SF_NOTIFY_SEND_RAW_DATA ISAPI filter is the only option.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 07-24-2008, 1:01 PM In reply to

    • 1Spatial
    • Not Ranked
    • Joined on 07-21-2008, 9:10 AM
    • Posts 2

    Re: Additional / Second Intercept for ISAPI

    Thanks for the reply - your hint has led me to a great wrapper for the filter events called Filter.Net.

    I have the usual problems of re-writing the data as the images I want to update come in lots of raw data packets... but I have posted onto the filternet site to try and get a reply - my C isn't really up to low level manipulation.  Thanks again, C


     

Page 1 of 1 (3 items)
Page view counter