Docs GODI Archive
Projects Blog Link DB

Search GODI:


More options
File doc/ocsigen/Eliom_predefmod.Redirections.html GODI Package apps-ocsigen
 
   Eliom_predefmod.Redirections.html  

Module Eliom_predefmod.Redirections


module Redirections: Eliom_mkreg.ELIOMREGSIG  with 
  type page = XHTML.M.uri
(*VVV Would be better to define the type uri elsewhere *)
  and type options = [ `Temporary | `Permanent ]
Allows to create redirections towards other URLs. A 301 or 307 code is sent to the browser to ask it to redo the request to another URL.

Warning: The URL given must be an absolute URI.

To choose if you want permanent or temporary redirection, use the options parameter of registration functions. For example: register ~options:`Temporary ....


include Eliom_mkreg.ELIOMREGSIG1
module Cookies: Eliom_mkreg.ELIOMREGSIG1  
    with type page = page * Eliom_services.cookie list
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml