After deleting cookie somehow it's coming again
Cookies.remove("session", {
sameSite: "strict"
});
I used this above statement to remoe the cookie ..but somehow it came back again
When and how exactly do you see the cookie and you expect it to no longer exist?
How did you set the cookie?
Cannot reproduce, lacking additional information.
How did you set the cookie?
also has the same issue but i set cookie in test.domain.com i use it in app.domain.com and i removed it from app.domain.com but it still there
@Mifayo Unless you have set the cookie with the domain .domain.com you cannot delete it across subdomains.
@Mifayo Unless you have set the cookie with the domain
.domain.comyou cannot delete it across subdomains.
@carhartl
I used this
document.cookie = "key=;domain=.domain.com;max-age=0";
instead of
Cookies.remove
It was solved ..My bad .. From backend they setting cookie through response -header ..