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

Re: cookies and XMLHttpRequest

From: Jonas Sicking <jonas@sicking.cc>
Date: Sun, 23 Apr 2006 22:15:01 -0700
Message-ID: <444C5ED5.2060201@sicking.cc>
To: David Flanagan <david@davidflanagan.com>
Cc: public-webapi@w3.org

David Flanagan wrote:
> 
> 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 
> XMLHttpRequest.

I'm not sure that we actually need to specify this. A UA supporting 
cookies should use them in any and all http transfers. If we go and 
specify how every possible web feature interact with XHR we're never 
going to get done.

/ Jonas
Received on Monday, 24 April 2006 05:15:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT