![]() [UP] Wd_dialog
|
WDialog API for Objective Caml: Wd_dialog.instant_session_manager
Class Wd_dialog.instant_session_managerclass instant_session_manager :
The "instant" session manager serializes the state of the dialog,
and includes it literally into the HTML form. The serialized string is included
in the generated HTML forms, and passed by CGI parameter from one activation
to the next activation. The advantages are that you need not to set up any
database to store the sessions, and that the session state is included
in the history of the browser. The disadvantages are increased network
traffic, and missing protection of the session data (the end user can
decode the session state), i.e. the class is insecure, and should only
be used in trusted environments.
|