Question Variations
In Fire Fox, it appears that the invoca_session cookie has Max-Age of 100 years. Does it mean that the cookie lasts for 100 years?
![Screenshot 2024-06-26 at 11.29.18 AM.png](https://invoca.my.salesforce-sites.com/AccessImage/servlet/rtaImage?eid=ka0UT0000005ijZ&feoid=00N4u000004AOFE&refid=0EMUT000003RQ37)
Applies To
invoca_session cookie, Data attribution Window
Answer
That is a default arbitrary value set by the Invoca JS libaray file and has little bearing on reality. In most cases, browsers take things into their own hands to delete 1st party cookies after 1-30 days of inactivity.
Max-age of the cookie is set to 100 years out, to make it long-term cookie (i.e. to preserve the Invoca ID) but how long the data attribute will be stored is defined under "ttl".
![Screenshot 2024-06-26 at 11.29.11 AM.png](https://invoca.my.salesforce-sites.com/AccessImage/servlet/rtaImage?eid=ka0UT0000005ijZ&feoid=00N4u000004AOF3&refid=0EMUT000003RDsJ)
Every time the Invoca tag writes to the cookie, It bumps out the "ttl" to be
now + attribution window lifetime(days) set in tag.