maxcountryman / flask-seasurf

SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF).
http://readthedocs.org/docs/flask-seasurf/
Other
190 stars 49 forks source link

Add 'expires' for setting cookie #91

Closed sooyeon-cho closed 2 years ago

sooyeon-cho commented 5 years ago

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#Directives 'max-age' is not supported in older versions of browsers, but does support 'expires'. Having both would be excellent.