This KB Article says that ASP.NET\'s Response.End()
aborts a thread.
Reflector shows that it looks like this:
public void End()
{
I've used Response.End() in both .NET and Classic ASP for forcefully ending things before. For instance, I use it when there is a certian amount of login attempts. Or when a secure page is being accesed from an unauthenticated login (rough example):
if (userName == "")
{
Response.Redirect("......");
Response.End();
}
else
{
.....
When serving files to a user I'd use a Flush, the End can cause issues.