package naboris

  1. Overview
  2. Docs

Less commonly used.

type 'sessionData t = {
  1. getSession : string option -> 'sessionData Session.t option Lwt.t;
  2. sidKey : string;
  3. 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.

OCaml

Innovation. Community. Security.