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 need to set cookie expiration time . Please help
The text was updated successfully, but these errors were encountered:
Sadly there is no implementation of expiration date on this project.
Sorry, something went wrong.
It took me some time to figure it out (less than two years though :). Here is how to set expiry time:
let cookieName = 'my_cookie_name'; let cookieValue = 1; let expirySeconds = 86400; // 1 day = 60*60*24 cookieMaster.setCookieValue(URL, cookieName, `${cookieValue}; max-age=${expirySeconds};`);
No branches or pull requests
I need to set cookie expiration time . Please help
The text was updated successfully, but these errors were encountered: