Replies: 1 comment
-
I was able to solve this problem on my own. Below is my middleware code that allows setting a custom expiration time.
|
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
-
Hello,
I would like to know how to set an expiration date for a session in Salvo.
Referring to this,
I tried to set the session expiration time using the expire_in method or set_expiry method
both on the handler side and the middleware side,
but the expiration time was always set to the same time the next day and could not be changed.
This is part of my code, but is there anything inappropriate?
Beta Was this translation helpful? Give feedback.
All reactions