Both of these approaches end up in a max-age/expiry only 7 days in the future.
document.cookie = "testCookie=value; max-age=999999999";
document.cookie = "testCookie=value; expires=Fri, 31 Dec 9999 23:59:59 GMT";
I've also tried different values with both approaches and various cookie libraries to no joy.
Turns out this is intended behaviour in the Brave browser. See #3443 for more info
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With