Answers for "how to delete cookie node js"

5

javascript delete cookie

function deleteCookie(name) {
  document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;';
}
Posted by: Guest on May-20-2020
1

how to delete cookie node js

cookies.set('testtoken', {expires: Date.now()});
Posted by: Guest on December-17-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language