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-entries exchange entries)
Puts ring session entries
into Undertow session storage.
entries
is nil
then session data is removed.nil
then this entry is unset from the session data.Raises exception if session storage is not initialized in server configuration and session values cannot be set.
Puts [ring session][1] `entries` into Undertow session storage. - When `entries` is `nil` then session data is removed. - When entry value is `nil` then this entry is unset from the session data. - Otherwise entry is set in session data. 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