Carmine-backed Ring session store.
(carmine-store conn-opts
&
[{:keys [key-prefix expiration-secs extend-on-read?]
:or {key-prefix "carmine:session"
expiration-secs (enc/secs :days 30)
extend-on-read? false}}])
Creates and returns a Carmine-backed Ring `SessionStore`. Options include: `:expiration-secs` - How long session data should persist after last write. nil => persist forever. `:extend-on-read?` - If true, expiration will also be extended by session reads.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close