Linked Questions

286 votes
16 answers
361k views

How to share cookies cross origin? More specifically, how to use the Set-Cookie header in combination with the header Access-Control-Allow-Origin? Here's an explanation of my situation: I am ...
Pim van der Heijden's user avatar
17 votes
5 answers
21k views

A javascript application running on 10.0.0.1 tries to authenticate it's users with cross-domain ajax calls. The request looks like: function test(again){ $.ajax({ type: 'GET', url: 'http://...
Etienne Laurin's user avatar
17 votes
1 answer
17k views

I'm AJAXing a call to a another services API, which is then supposed to return a cookie that will be set in my browser to allow me to make the rest of my API calls. However, while the response ...
MattA's user avatar
  • 255
8 votes
2 answers
6k views

I'm trying to execute CORS request with jquery buy I'm getting strange behaviour. When I use curl to execute the request everything is working fine. But when I use jQuery the things goes horribly ...
gshock's user avatar
  • 741
6 votes
2 answers
39k views

I have looked at the following questions here on stackoverflow with no luck in what im trying to do. Ajax Authorization Request headers fails again and again jQuery Ajax Unauthorized 401 Error ...
bretterer's user avatar
  • 5,782
13 votes
1 answer
15k views

I have got CORS working on my current project, although one thing I cannot seem to get working correctly is the cookies. Now I get the cookie fine, the server issues it and sends it down and firefox ...
somemvcperson's user avatar
8 votes
2 answers
5k views

My CSS is hosted on https://www.site1.com (it is an authenticated domain) and it uses woff/ttf files located on https://media.site1.com (it is also authenticated - same auth than www). To connect to ...
JayMore's user avatar
  • 221
8 votes
2 answers
32k views

I realize this question has been asked a dozen or more times and each response given indicates I am doing it right but perhaps I am missing something. AJAX serves up CORS request like so... $.ajax({ ...
jas-'s user avatar
  • 1,800
4 votes
1 answer
5k views

Firefox send a cross-domain post with credentials, I can (using Charles - a proxy for HTTP debugging) see that the server is sending back the response… But Firefox isn't "letting me see it" (for lack ...
David Wolever's user avatar
11 votes
2 answers
2k views

I am working on a Chrome extension that would allow users to record all HTTP requests for a site, modify pieces of the request and then resend it. I'm hoping to use jQuery's ajax method to construct ...
Abe Miessler's user avatar
  • 85.6k
7 votes
2 answers
2k views

I have bookmarklet. If I open a random page (not mine) and click the bookmarklet, I would like to check if the user is logged in on my page. I am already doing Cross-Domain AJAX Request using Access-...
PiTheNumber's user avatar
  • 23.7k
5 votes
1 answer
5k views

http://username:[email protected]/snap I have been using this embedded credentials method to retrieve photos from IP Cameras. Now that Google Chrome update blocked this method, I got this error: [...
user3162662's user avatar
1 vote
1 answer
5k views

I'm trying to send a POST request to a separate subdomain via ajax. The preflight request (OPTIONS) is successful, but the following XMLHttpRequest request returns the "Origin http://app.example.com ...
Ben Wilkins's user avatar
2 votes
1 answer
4k views

I'm trying to make a simple web api call using jQuery's ajax() function. I have an authorization token I need to pass to the api method in the header. The web api method is working correctly because I ...
Halcyon's user avatar
  • 15k
2 votes
2 answers
1k views

I need to tell Ajax.Request (from Prototype.js) to set xhr.transport.withCredentials to true (to enable cookies in my cross site requests headers). I failed by trying: Ajax.Request('http://...
RienNeVaPlu͢s's user avatar

15 30 50 per page