The cookie's Max-Age, in seconds, when we expire the cookie.
The cookie's Max-Age, in seconds, when we expire the cookie.
When Max-Age = 0, Expires is set to 0 epoch time for compatibility with older browsers.
Check the prefix of this cookie and make sure it matches the rules.
Check the prefix of this cookie and make sure it matches the rules.
the original cookie if it is valid, else a new cookie that has the proper attributes set.