Liking cljdoc? Tell your friends :D

strojure.ring-undertow.impl.session

Implementation of ring sessions.

Implementation of ring sessions.
raw docstring

get-sessionclj

(get-session exchange)

Returns ring session data from server exchange.

Returns ring session data from server exchange.
sourceraw docstring

put-sessionclj

(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
sourceraw docstring

ring-session-keyclj

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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close