Module Ows


module Ows: sig .. end
OWS (OCaml Web Sessions) interface.

type page = string 
A page name is a string, with only the following characters: a-z A-Z 0-9 '-' '_'
type session_id = string 
A session identifier is a string, with only the following characters: a-z A-Z 0-9 '-' '_'
type hostname = string 
The host accessing a page.
exception Exit_doc of Toolhtml.doc
This exception can be used to exit from a page handler with a document.
exception Exit_handler of string * (string * string) list
This exception can be used to exit from a page handler, and to use another handler with the same host and optional user info, but with the gievn arguments.
module type Conf = sig .. end
What we need to manage sessions.
module Params_based: 
functor (C : Conf) -> sig .. end
A functor to create the module with the functions to manage sessions between pages in the parameters (URLs or Forms).

type cookie_action =
| Set of string * string
| Unset of string * string
To set or unset a pair (name, value) in a cookie.
module Cookies_based: 
functor (C : Conf) -> sig .. end
A functor to create the module with the functions to manage sessions between pages using cookies.