0

I am using OData v3 with ASP.net 4.6 MVC 5, Oracle 11g.

I execute an OData c3 query via Ajax to my App server. Then, I execute this in javascript on the front end, before the previous request has finished.

xhr.abort();

It causes a cancellation of an OData request to the server. It does not cause the related SQL to stop running.

I learned about CancellationTokens in ASP.NET, but it seems they are already being used. I am looking for the simplest way to accomplish cancellation of the related SQL when the abort method is called on the related Ajax call.

Worthy7
  • 1,455
  • 15
  • 28

0 Answers0