immutant.web.session documentation

Functions for using the cluster-wide servlet store for sessions.

servlet-session

(servlet-session)
Returns the servlet session for the current request.

servlet-store

(servlet-store)
Instantiates and returns a ServletStore

session-timeout

(session-timeout)
Returns the current session timeout in minutes.

set-session-timeout!

(set-session-timeout! minutes)
Sets the session timeout (in minutes), overriding the default of 30
minutes. Applies to all of the web endpoints deployed within an
application, since they all share the same session.