(ttl-memory-store ttl & [opts])
Returns an implementation of SessionStore where sessions have a time-to-live given in seconds. By default, the returned session store is based on expiring-map. Expiring-map options (like listeners and expiration policy) can be given as an optional map. If an optional key :core-cache is given, a session stored based on core.cache is returned.
Returns an implementation of SessionStore where sessions have a time-to-live given in seconds. By default, the returned session store is based on expiring-map. Expiring-map options (like listeners and expiration policy) can be given as an optional map. If an optional key :core-cache is given, a session stored based on core.cache is returned.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close