Kill request without sending any response or error to the browser

A

Alphapage

Hello,

I want to examine the HttpContext of the submitted requests. If the context
is validated, no problem I execute ProcessRequest. But if the context
doesn't match, I want to stop the request execution (I mean close the process
and clean it in memory). I don't want to return any error or any content to
the webbrowser (I don't care if the browser is still waiting for a response
until its timeout setting).
I only find a way to raise an error to the webbrowser, but I want to
dispose the request without send a response to the client.

Thanks in advance for your help.
 
B

bruce barker

with ii6, there is no way. iis has the pipe open to the client, not asp.net

when its an asp.net page, iis opens a pipe to the asp.net worker process,
sends the input and reads the reponse. there is no protocol to tell iis to
close the connection without sending a fin.


-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top