Replies: 1 comment
-
@notramo you can set cookie expiration times, Though it is true that this method is not mentioned in the user documentation (except in the API docs) and I agree that the documentation around cookies could be enhanced. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The cookie storage is very limited. There is no way to set expiration time,
SameSite
attribute, etc.The Crystal stdlib already has a
Cookie
class: https://crystal-lang.org/api/latest/HTTP/Cookie.htmlProposed API:
Beta Was this translation helpful? Give feedback.
All reactions