Questions tagged [request-cancelling]

Stopping or safely ignoring a request, usually an HTTP transaction between a client and a server.

Stopping or safely ignoring a request, usually an HTTP transaction (GET, POST, etc.) between a client and a server.

This is most often applicable in an AJAX context -- especially if synchronous AJAX is used.

Requests can be canceled/ignored by the client and/or the server.

67 questions
0
votes
0 answers

Best Practices for cancelling XHR requests in AJAX-heavy PHP web applications

I'm the author of a PHP web application that provides a dashboard and control panel for its users' environments. For context, the architecture is roughly as follows: apache webserver w/ PHP 5.4 handling user interface requests MYSQL 5.5 (percona)…
Rimer
  • 1,823
  • 6
  • 25
  • 41
0
votes
1 answer

vb.net awesomium cancel request when url contains specific keyword

im using awesomium and vb.net as a client side application for my web application. Can anyone say me how to cancel a request when a url contain a specific key word. for example , if my url contains view , then i need to cancel the request and…
Yuvaraj
  • 168
  • 1
  • 2
  • 11
0
votes
0 answers

With redirect to page, page gets cancelled then gets called, manual call to page works without getting cancelled first

I'll try to explain this as short as possible. When the customer comes back from iDeal (dutch online paymethod something like PayPal) to our website (let's call that page A), the website processes some things (update DB, create invoice, etc.). I…
Femke
  • 79
  • 7
0
votes
1 answer

Google drive SDK: Cancel upload

How to cancel file upload request with Google Drive SDK? I'm creating .NET 4 task that calls FilesResource.InsertMediaUpload request = service.Files.Insert(body, stream, body.MimeType); request.Upload(); I can't use cancellation token here to…
axe
  • 2,231
  • 3
  • 28
  • 52
0
votes
1 answer

BinaryReader.ReadByte() doesn't TimedOut

I have an internet stream and I am creating reader from that var reader = new BinaryReader(stream); and after that I am reading bytes for searching "sync word" if (reader.ReadByte() != magic[i++]) But sometimes i have a problem with ReadByte(). I…
0
votes
1 answer

Cancel Requests on link clicked asp.net

I have a home page on a website (ASP.NET 4.0 C#) which loads a lot of data every time it is accessed (basically a dashboard). This can (depending on the user) take a while to load, so I broke each section into update panels and load them separately…
ian_mac123
  • 97
  • 1
  • 1
  • 14
-2
votes
1 answer

CORS ajax call fails despite of the appropriate Access-Control-Allow-* headers

I am performing an ajax call from a third-party-hosted script to my endpoint. The preflight call looks like this in Chrome: GENERAL Request URL: https://my_endpoints_url Request Method: OPTIONS Status Code: 200 Remote Address:…
1 2 3 4
5