Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Eliom_predefmod.Action

module Action:
   Eliom_mkreg.ELIOMREGSIG   with
    type page = unit
    and type options = [ `Reload | `NoReload ]

Actions do not generate any page. They do something, then the page corresponding to the URL (without POST parameters or non-attached parameters or coservice parameters) is sent to the browser.

If you want to give information to the handler that will be called to reload the page, put it in the polymorphic table returned by Eliom_sessions.get_request_cache.

If you give the optional parameter ~options:`NoReload to the registration function, no page will be sent.


module Cookies:
   Eliom_mkreg.ELIOMREGSIG1  
    with type page = page * Eliom_services.cookie list