Replies: 1 comment 2 replies
-
Hi there, I actually just added a section for the session methods a couple days ago, tucked into the readme: https://github.com/jcs224/hono_sessions?tab=readme-ov-file#api The // Within your middleware somewhere, like at the start of your successful login middleware
c.set("session_key_rotation", true) You can learn more about session fixation here: Finally, yes, the library automatically extends the session for the length set in the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Howdy.
Is there any plan to write documentation on session methods and their usage?
Additionally, could session_key_rotation be explained? Unsure where this comes in.
One final question, does this library automatically handle refreshing an active session close to expiration or is that required to be handled manually? (via session.reupSession()?)
Beta Was this translation helpful? Give feedback.
All reactions