[Mono-devel-list] XSPWorkerRequest
Gonzalo Paniagua Javier
gonzalo at ximian.com
Mon Oct 20 03:33:46 EDT 2003
El lun, 20-10-2003 a las 05:37, Cezar Nasui escribió:
> >>What are my options to make the 2
> >>applications, console and web, "talk" to each other (beside remoting)?
>
> >You have to create your own WorkerRequest that passes the faked data to
> >System.Web. mod_mono, for example, uses unix sockets, but you can use a
> >stream or whatever.
>
> I tried to create my own WorkerRequest using XSPWorkerRequest as example.
> The problem I have is that once the HttpRuntime.ProcessRequest gets called
> I found no way to intercept the response, it gets sent straight to the
> browser...
> In order to be able to intercept the response and to add something to the
> Response object
> that will require to "replace" HttpRuntime.ProcessRequest and to create
> myself
> the output ??
There are a few stages in the process of a request (see the events of
HttpApplication class) and you can also filter the request input and the
response output.
-Gonzalo
More information about the Mono-devel-list
mailing list