We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have an application that sets a cookie and removes it, and this application is accessed via iframe within another application.
destroy cookie works properly on safari, but not working on chrome.
I have a question why do we override the cookie with an empty string instead of deleting it?
Set cookie setCookie(null, 'my-cookie, token, { path: '/', maxAge: Date.now() + 5 * 365 * 24 * 60 * 60, // 5 Years From Now, sameSite: 'None', secure: true });
setCookie(null, 'my-cookie, token, { path: '/', maxAge: Date.now() + 5 * 365 * 24 * 60 * 60, // 5 Years From Now, sameSite: 'None', secure: true });
Destory cookie destroyCookie(null, 'my-cookie', { path: '/', })
destroyCookie(null, 'my-cookie', { path: '/', })
How to make destroy cookie work on chrome as well? should I pass all the options I added while setting the cookie?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have an application that sets a cookie and removes it, and this application is accessed via iframe within another application.
destroy cookie works properly on safari, but not working on chrome.
I have a question why do we override the cookie with an empty string instead of deleting it?
Set cookie
setCookie(null, 'my-cookie, token, { path: '/', maxAge: Date.now() + 5 * 365 * 24 * 60 * 60, // 5 Years From Now, sameSite: 'None', secure: true });
Destory cookie
destroyCookie(null, 'my-cookie', { path: '/', })
How to make destroy cookie work on chrome as well? should I pass all the options I added while setting the cookie?
The text was updated successfully, but these errors were encountered: