[UP]
Wd_dialog
 Wd_dialog.dialog
 Wd_dialog.instant_session_manager
 Wd_dialog.database_session_manager
   
WDialog API for Objective Caml: Wd_dialog.instant_session_manager

Class Wd_dialog.instant_session_manager


class instant_session_manager : unit -> Wd_types.session_manager_type
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.