locked
IIS Filter: How Can I get a flag in the processing of a request RRS feed

  • Question

  • User-787029301 posted

    We Know that we can process a request in some events,for example:

    OnReadRawData  OnPreProHeader  OnUrlMap  OnSendRawData.

    Can we get a flag to tell us they are processing the same request.

    I know in iis enxtention, we can use pECB->ConnID.

    but I can not find the flag in iis filter.

    Thursday, March 5, 2009 2:26 AM

Answers

  • User511787461 posted

    This is done using HTTP_FILTER_CONTEXT::pFilterContext - your filter can set a pointer here on the first notification for a request and on later notifications for the same request will get the same pointer.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Wednesday, March 11, 2009 1:55 PM

All replies

  • User-1796730883 posted

    Hi, carlechen

    processing the same request

    do you mean when a flag to check if two sequential requests are the same?

    Regards

    Wednesday, March 11, 2009 9:42 AM
  • User511787461 posted

    This is done using HTTP_FILTER_CONTEXT::pFilterContext - your filter can set a pointer here on the first notification for a request and on later notifications for the same request will get the same pointer.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Wednesday, March 11, 2009 1:55 PM
  • User-787029301 posted

    thanks Anil 

    Sunday, March 15, 2009 10:03 AM