]> git.cworth.org Git - zombocom-ai/commit
Extend maxAge of cookies to be a full week
authorCarl Worth <cworth@cworth.org>
Wed, 21 Dec 2022 20:47:27 +0000 (12:47 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 21 Dec 2022 20:47:27 +0000 (12:47 -0800)
commite0a2bc11a60d831cda27ca04e20719f48588871f
tree146733f328be7ac1fc4c105c63b20bb841804d3d
parent205b1db399554a889b4767241231cefe07e1c773
Extend maxAge of cookies to be a full week

The other cookie properties set in this commit are the defaults.

We want a long cookie age so that sessions are as persistent as possible.

The default maxAge is unset, but apparently instead of that meaning
"never expire" it is interpeted by agents as meaning the cookie is
non-peristent (and the agent may delete the cookie on browser close).
index.js