PDA

View Full Version : [CLOSED][3.??] Ext.util.Cookies.clear does not work



Chods
9 Dec 2009, 7:06 AM
Anyone else come across. It simply does not expire or remove the cookie.:-?

tryanDLS
9 Dec 2009, 7:39 AM
Seriously, that's considered a bug report? Please read
http://extjs.com/forum/showthread.php?p=341947

Chods
9 Dec 2009, 7:41 AM
I've read that. I wont be producing a bug report, just thought i would let you know. Feel free to delete this post.

evant
9 Dec 2009, 5:05 PM
There's a more detailed report of this somewhere, it's got something to do with clear not resetting the correct domain etc.

Anyway, there's already something open for it, so this can stay closed.

devtig
16 Feb 2010, 11:01 AM
Clear a cookie like so:


Ext.util.Cookies.set('name_of_cookie', null, new Date("January 1, 1970"));
Ext.util.Cookies.clear('name_of_cookie');


And you can be sure that your cookie is gone.