Register / Login
Win a copy of
Head First Android
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Cookies in XHR
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
I have a site and when you actually go to that site via browser, it asks for basic Http authentication when the user fills in the required information, there are some cookies dropped by the site.
I tried to mimic the same behavior using XHR. when I use XHR and I look in the developer console , I do see that the cookies are there but the issue here is how do I access those ?
If I do XHR.getAllResponseHeaders() doesn't give me what I'm looking for and also if I do xhr.getResponseHeader("Set-Cookie"), I don't get the value back...
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
Boost this thread!
need to set a param that persists across all pages
AJAX Status Code of 8
Ajax callback methds
Clear firefox cookies on closing the window
how to count number of visitors