title: What causes 'Thread was being aborted' exception to happen at random and show the HTTP header and partial HTML to the browser?
body: <p>What is happening is occasionally at random instead of the HTML being returned to the browser as you would expect, it looks a little something like this:</p>
  <blockquote>
  <p>Thread was being aborted.HTTP/1.1 200 OK</p>
  <p>(the rest of the header)</p>
  <p>... (like 1/10th of the HTML)</p>
  </blockquote>
  <p>That's it, they are literally getting a bunch of text in the browser window.</p>
  <p>It doesn't happen all the time, just randomly. Computers... in my experience always have a reason for everything, ALWAYS. So what's the heck is going on here?</p>
  <p>I have searched the entire solution and found quite a few calls to Response.Redirect() which seems like it could be the culprit based on other questions I have read...</p>
  <p><strong>this is all well and good but it does not tell me why it would be happening at random</strong></p>
  <p>...or why it would be giving this strange result back to the browser rather than the normal custom error page we have setup. If this is indeed what is causing it, which I have not yet determined. If it is, I don't think I can simply add the 'false' parameter because I don't know what that would do if it kept executing the current code.</p>