Session Storage window.sessionStorage.setItem('login', 'token'); Remove Cookies with Document document.cookie = 'token=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT';