Can a http server detect that a client has cancelled their request?

While @Oded is correct that HTTP is stateless between requests, app servers can indeed detect when the underlying TCP/IP connection has broken for the request being processed. Why is this? Because TCP is a stateful protocol for reliable connections. A common technique for .Net web apps processing a resource intensive request is to check Response.IsClientConnected … Read more