Open iNDicat0r opened 7 years ago
Having Same Issue
What i do for now, is deleting it on the server side..
doesn't work for me either. from SO
function clearCookie(name) {
let domain = document.domain
let path = '/'
document.cookie = name + '=; expires=' + +(new Date()) + '; domain=' + domain + '; path=' + path
}
when the cookie is set on the server side, it has httpOnly set to false, secure to false. I can access the cookie in the SPA, but unable to delete it(set it to past).