Nope. That can’t be done. The best ‘way’ of doing that is just making the expiration date be like 2100.
More Related Contents:
- How do you increment a cookie value?
- How do I create and read a value from cookie?
- Set cookie and get cookie with JavaScript [duplicate]
- Get cookie by name
- Clearing all cookies with JavaScript
- Chrome doesn’t delete session cookies
- What is the shortest function for reading a cookie by name in JavaScript?
- Detecting if a browser is using Private Browsing mode
- How to read a HttpOnly cookie using JavaScript
- What are cookies and sessions, and how do they relate to each other?
- firebase cloud function won’t store cookie named other than “__session”
- How do I check if a cookie exists?
- Can jQuery read/write cookies to a browser?
- Cross domain POST request is not sending cookie Ajax Jquery
- How to set expiration date for cookie in AngularJS
- How do sessions work in Express.js with Node.js?
- I want to store Javascript array as a Cookie
- Stop people having my website loaded on multiple tabs
- Why doesn’t document.cookie show all the cookie for the site?
- CORS cookie credentials from mobile WebView loaded locally with file://
- Check if httponly cookie exists in Javascript
- Cannot set cookies in Javascript
- How to get cookie expiration date / creation date from javascript? [duplicate]
- How to use cookie inside `getServerSideProps` method in Next.js?
- Setting Cookies using JavaScript in a local html file
- I need to get all the cookies from the browser
- How do I set path while saving a cookie value in JavaScript?
- iframe not reading cookies in Chrome
- Breaking JavaScript execution when cookie is set
- Set cookie on multiple domains with PHP or JavaScript