[whatwg] HTML Cookie API

Jonas Sicking jonas at sicking.cc
Tue Feb 23 21:15:46 PST 2010


On Tue, Feb 23, 2010 at 8:56 PM, Adam Barth <w3c at adambarth.com> wrote:
> The document.cookie API is kind of terrible.  Web developers shouldn't
> have to parse a cookie-string or prepare a properly formated
> set-cookie-string.  Here's a proposal for an HTML cookie API that
> isn't as terrible:
>
> https://docs.google.com/Doc?docid=0AZpchfQ5mBrEZGQ0cDh3YzRfMTRmdHFma21kMg&hl=en
>
> I'd like to propose we include this API in a future version of HTML.
> As always, feedback welcome.

I really think the API should be asynchronous, as to avoid the mess
that .localStorage currently is.

/ Jonas



More information about the whatwg mailing list