I've done some research on HTTPModule and successfully recreated and executed
a couple of the sample found online. My question is that I want to be able
to intercept any HTTP request (not necessary asp pages) and process the
incoming message. How can I use HTTPModule to accomplish that?

The examples I tried all process a web applications, how can I process all
the HTTP request that comes through?

Thanks!

Re: HTTPModule ... incoming HTTP request that is not ASP pages? by Ken

Ken
Wed Feb 01 22:21:48 CST 2006

http://www.microsoft.com/technet/community/columns/insider/iisi1005.mspx#EIG

Cheers
Ken


"Teresa" <Teresa@discussions.microsoft.com> wrote in message
news:53EEC60D-CC8D-466D-A018-88D997BBEDDE@microsoft.com...
: I've done some research on HTTPModule and successfully recreated and
executed
: a couple of the sample found online. My question is that I want to be
able
: to intercept any HTTP request (not necessary asp pages) and process the
: incoming message. How can I use HTTPModule to accomplish that?
:
: The examples I tried all process a web applications, how can I process all
: the HTTP request that comes through?
:
: Thanks!



Re: HTTPModule ... incoming HTTP request that is not ASP pages? by Teresa

Teresa
Thu Feb 02 16:18:32 CST 2006

Thanks for the link but I dont think it will work and I think I asked the
wrong question.

Acutally I want to intercept *any* HTTP request, not to any web application
in IIS and it may not have an extension. For instance, it could be a HTTP
request for a Java application, but I want to be able to intercept that and
process it. Thanks!

"Ken Schaefer" wrote:

> http://www.microsoft.com/technet/community/columns/insider/iisi1005.mspx#EIG
>
> Cheers
> Ken
>
>
> "Teresa" <Teresa@discussions.microsoft.com> wrote in message
> news:53EEC60D-CC8D-466D-A018-88D997BBEDDE@microsoft.com...
> : I've done some research on HTTPModule and successfully recreated and
> executed
> : a couple of the sample found online. My question is that I want to be
> able
> : to intercept any HTTP request (not necessary asp pages) and process the
> : incoming message. How can I use HTTPModule to accomplish that?
> :
> : The examples I tried all process a web applications, how can I process all
> : the HTTP request that comes through?
> :
> : Thanks!
>
>
>

Re: HTTPModule ... incoming HTTP request that is not ASP pages? by Ken

Ken
Thu Feb 02 23:49:35 CST 2006

Currently HTTPModules are implemented inside the ASP.NET ISAPI Extension. If
your pages (e.g. your Java pages) are handled by another, separate, ISAPI
extension, then you can't have a HTTP Module intercept that request.

You will either need to wait for IIS7 (which has a unified event pipeline),
or you will need to use an ISAPI Filter. ISAPI Filters can look at all
requests (both incoming and outgoing) before they are handed off to an ISAPI
Extension (per the link that I posted below).

Otherwise, you need to use multiple servers:
Request comes into first server
Request is handled by HTTP Module
HTTP Module implements reverse-proxy functionality that then passes the
request onto a second server.

Cheers
Ken


"Teresa" <Teresa@discussions.microsoft.com> wrote in message
news:1C29CF85-031D-4AD5-9C44-B8B66B9DDBA1@microsoft.com...
: Thanks for the link but I dont think it will work and I think I asked the
: wrong question.
:
: Acutally I want to intercept *any* HTTP request, not to any web
application
: in IIS and it may not have an extension. For instance, it could be a HTTP
: request for a Java application, but I want to be able to intercept that
and
: process it. Thanks!
:
: "Ken Schaefer" wrote:
:
: >
http://www.microsoft.com/technet/community/columns/insider/iisi1005.mspx#EIG
: >
: > Cheers
: > Ken
: >
: >
: > "Teresa" <Teresa@discussions.microsoft.com> wrote in message
: > news:53EEC60D-CC8D-466D-A018-88D997BBEDDE@microsoft.com...
: > : I've done some research on HTTPModule and successfully recreated and
: > executed
: > : a couple of the sample found online. My question is that I want to be
: > able
: > : to intercept any HTTP request (not necessary asp pages) and process
the
: > : incoming message. How can I use HTTPModule to accomplish that?
: > :
: > : The examples I tried all process a web applications, how can I process
all
: > : the HTTP request that comes through?
: > :
: > : Thanks!
: >
: >
: >