Mercurial > hg > index.fcgi > www > www-1
comparison cs/index.html @ 114:d8239a080f44
cs: set domain and secure cookie parameters for unset also
author | paulo |
---|---|
date | Mon, 03 Aug 2020 02:01:05 -0600 |
parents | 4d3f845c4ef2 |
children |
comparison
equal
deleted
inserted
replaced
2:759b2145f679 | 3:3cbd5ce2d77c |
---|---|
32 | 32 |
33 var unset = document.createElement("input"); | 33 var unset = document.createElement("input"); |
34 unset.type = "button"; | 34 unset.type = "button"; |
35 unset.value = "Unset"; | 35 unset.value = "Unset"; |
36 unset.onclick = function() { | 36 unset.onclick = function() { |
37 docCookies.removeItem(k, "/"); | 37 docCookies.removeItem(k, "/", "pauloang.com", true); |
38 setCookiesDiv.removeChild(d); | 38 setCookiesDiv.removeChild(d); |
39 }; | 39 }; |
40 | 40 |
41 d.appendChild(kInput); | 41 d.appendChild(kInput); |
42 d.appendChild(vInput); | 42 d.appendChild(vInput); |