I'm trying to delete the cookies with javascript this way
for(var i = 0; i < arrCookies.length; i++){
var key = arrCookies[i].split("=");
document.cookie = key[0]+" =; expires = Thu, 01 Jan 1970 00:00:00 UTC";
}
but after execute this code, I called document.cookie
and the reuslts doesn't show the expiration date that I just added is this correct?