bendotcodes/cookies

How to retrieve a Cookie's Max-Age

hariprasath-jd opened this issue · 2 comments

How to retrieve a Cookie's Max-Age

version

"universal-cookie": "^7.0.2"

  • in a react project

can I?

Thanks in advance for your help

eXon commented

This is unfortunately impossible to do. When getting the browser's cookies, they only provide you with a list of key/value. However, the expiration is unknown.