Skip to content

Example of setting a custom TTL for RedisActorSessionStore? #401

Answered by robjtede
miketwenty1 asked this question in Q&A
Discussion options

You must be logged in to vote

Copied from Discord:

sure, this applies to all backends: https://docs.rs/actix-session/latest/actix_session/config/struct.PersistentSession.html#method.session_ttl

calling renew on a session, is it possible to renew with a custom TTL?

This is not possible with the current lib.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by robjtede
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants