microcipcip / cookie-universal

Universal cookie plugin, perfect for SSR
525 stars 39 forks source link

Cookies disappear #141

Open Karol-Waliszewski opened 2 years ago

Karol-Waliszewski commented 2 years ago

After setting some key they are visible for brief second in Application/Cookies panel and the just disappear. Expiration is set for next week and when cookie is visible expired shows date from next week. However it just vanish second later for no reason. I don't use .remove() anywhere

this.$cookies.set("Language", "en", {
                path: "/",
                maxAge: 60 * 60 * 24 * 7
            });
microcipcip commented 2 years ago

There's nothing wrong with your code, I don't understand why that would not work, maybe you have some browser extension enabled that would remove it?