W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2009

[whatwg] Accessing cookies from workers

From: Michael Nordman <michaeln@google.com>
Date: Thu, 5 Mar 2009 17:33:54 -0800
Message-ID: <fa2eab050903051733r6266b578k3f1f64ce9dd005be@mail.gmail.com>
On Thu, Mar 5, 2009 at 5:23 PM, Michael Nordman <michaeln at google.com> wrote:
>> Allowing cookie to be set would unfortunately create a synchronous
>> communication channel between the worker and the main window. This is
>> something that we need to avoid to prevent users from having to deal
>> with locking and other thread related issues.
> Hmmm... the cookie setting API could be async in workers.

In the absence of providing such an API, one exists (provided network
connectivity) indirectly in the form the XHR... ask the server to
either read or set cookies values for you.
Received on Thursday, 5 March 2009 17:33:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:47 UTC