question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

possible to delete a cookie?

See original GitHub issue

I tried setting '' and undefined to setCookie() with no luck

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
HendrikJancommented, Mar 11, 2022

Documentation about a “deleteCookie” function might be easier to find using a search engine than setCookie(name, {delete: true}). “deleteCookie” is also easier to read.

1reaction
pi0commented, Mar 11, 2022

Yeah! Opened for adding deleteCookie. An alternative would be semantic delete flag like setCookie(name, { delete: true })

Read more comments on GitHub >

github_iconTop Results From Across the Web

Clear, enable, and manage cookies in Chrome - Google Support
Delete specific cookies · On your computer, open Chrome Chrome . · At the top right, click More More and then Settings ·...
Read more >
javascript - How to delete a cookie? - Stack Overflow
Try this: function delete_cookie( name, path, domain ) { if( get_cookie( name ) ) { document.cookie = name + "=" + ((path) ?...
Read more >
cookies.remove() - Mozilla - MDN Web Docs
The remove() method of the cookies API deletes a cookie, given its name and URL. The call succeeds only if you include the...
Read more >
How to Control and Delete Cookies on Your Browser | PCMag
Access the menu via the ellipsis menu in the lower-right (iOS) or upper-right (Android), and select Settings > Privacy > Clear Browsing Data....
Read more >
How to Remove Specific Site Cookies in Google Chrome
If you need to delete specific cookies in Google Chrome instead of all of them at once, you can. This saves the hassle...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found