Module Naboris.SessionConfig

Less commonly used.

type 'sessionData t = {
getSession : string option -> 'sessionData Session.t option Lwt.t;
sidKey : string;
maxAge : int;
}
val sidKey : 'sessionData t option -> string

Returns key to be used for session cookies.

val maxAge : 'sessionData t option -> int

Returns max age to be used for session cookies.