View Full Version : [CLOSED][3.??] Ext.util.Cookies.clear does not work
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
I've read that. I wont be producing a bug report, just thought i would let you know. Feel free to delete this post.
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.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.