Implementation of ring sessions.
Implementation of ring sessions.
(get-session exchange)
Returns ring session data from server exchange.
Returns ring session data from server exchange.
(put-session exchange data)
Puts ring session data
into Undertow session storage or remove it if
data
is null. Changes session identifier if (-> data meta :recreate)
is
true
.
Raises exception if session storage is not initialized in server configuration and session values cannot be set.
Puts [ring session][1] `data` into Undertow session storage or remove it if `data` is null. Changes session identifier if `(-> data meta :recreate)` is `true`. Raises exception if session storage is not initialized in server configuration and session values cannot be set. [1]: https://github.com/ring-clojure/ring/wiki/Sessions
The name of the key in Undertow session storage for ring session data. Same name as in other implementations like immutant and luminus.
The name of the key in Undertow session storage for ring session data. Same name as in other implementations like immutant and luminus.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close