Back

write-session (clj)

(source)

protocol

(write-session store key data)
Write a session map to the store. Returns the (possibly changed) key under which the data was stored. If the key is nil, the session is considered to be new, and a fresh key should be generated.

Examples