module Eliom_common:Low level functions for Eliom, exceptions and types.sig
..end
exception Eliom_404
exception Eliom_Wrong_parameter
exception Eliom_Session_expired
exception Eliom_Typing_Error of (string * exn) list
exception Eliom_site_information_not_available of string
In particular, you cannot use the function before the configuration file
is read for example when you are using static linking.
In that case you must
delay the function call using Eliom_service.register_eliom_module
.
typescope_name =
Eliom_common_base.scope_name
typeuser_scope =
[ `Client_process of scope_name
| `Session of scope_name
| `Session_group of scope_name ]
typescope =
[ `Client_process of scope_name
| `Session of scope_name
| `Session_group of scope_name
| `Site ]
typeall_scope =
[ `Client_process of scope_name
| `Global
| `Request
| `Session of scope_name
| `Session_group of scope_name
| `Site ]
typeglobal_scope =
[ `Global ]
typesite_scope =
[ `Site ]
typesession_group_scope =
[ `Session_group of scope_name ]
typesession_scope =
[ `Session of scope_name ]
typeclient_process_scope =
[ `Client_process of scope_name ]
typerequest_scope =
[ `Request ]
val global : global_scope
val site : site_scope
val session_group : session_group_scope
val session : session_scope
val client_process : client_process_scope
val comet_client_process : client_process_scope
val request : request_scope
val create_scope_name : string -> scope_name
val list_scope_names : unit -> scope_name list
[ `Client_process | `Session ]
=
It is possible to define data tables or service table for one
(browser) session, for one tab, or for one group of sessions.
[< user_scope ] -> [> cookie_scope ]
: typefullsessionname =
cookie_scope * string
module Fullsessionname_Table:Map.S
with type key = fullsessionname
val eliom_link_too_old : bool Polytables.key
val eliom_service_session_expired : (fullsessionname list * fullsessionname list)
Polytables.key