W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: cookies and XMLHttpRequest

From: David Flanagan <david@davidflanagan.com>
Date: Sun, 23 Apr 2006 20:33:38 -0700
Message-ID: <444C4712.30503@davidflanagan.com>
To: Jonas Sicking <jonas@sicking.cc>
CC: public-webapi@w3.org

Jonas Sicking wrote:
> David Flanagan wrote:
>> Your XMLHttpRequest draft of 05 April 2006 specifies that 
>> XMLHttpRequest should automatically include cookies in outgoing requests.
>> But it does not specify what should be done with cookies included in 
>> incoming responses.
> What does current implementations do? Are the cookies available through 
> .responseXML.cookies? 

Hmm.  I didn't even think about that.  That's actually a pretty good idea...

What I meant, however, was that you need to specify that the browser 
must/should/should not store cookies sent with the response to an 

I don't actually know what current implementations do, although I assume 
that they store any cookies sent with the response.

Note that the document would probably have to be
> an XHTML document for that to work (which means that it won't work in IE 
> since it doesn't support XHTML).
> / Jonas
Received on Monday, 24 April 2006 03:33:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC