An explicit deleteCookie method might also be nice.<div>-Darin<br><br><div class="gmail_quote">On Tue, Feb 23, 2010 at 8:56 PM, Adam Barth <span dir="ltr"><<a href="mailto:w3c@adambarth.com">w3c@adambarth.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The document.cookie API is kind of terrible. Web developers shouldn't<br>
have to parse a cookie-string or prepare a properly formated<br>
set-cookie-string. Here's a proposal for an HTML cookie API that<br>
isn't as terrible:<br>
<br>
<a href="https://docs.google.com/Doc?docid=0AZpchfQ5mBrEZGQ0cDh3YzRfMTRmdHFma21kMg&hl=en" target="_blank">https://docs.google.com/Doc?docid=0AZpchfQ5mBrEZGQ0cDh3YzRfMTRmdHFma21kMg&hl=en</a><br>
<br>
I'd like to propose we include this API in a future version of HTML.<br>
As always, feedback welcome.<br>
<font color="#888888"><br>
Adam<br>
</font></blockquote></div><br></div>