Ocsigen

Start

Home

Doc

Blog

Eliom

Js_of_ocaml

Server

Lwt

Tyxml

Start

  • Home
  • Doc
  • Eliom
  • Js_of_ocaml
  • Server
  • Lwt
  • Tyxml
  • Toolkit
  • Start
  • Ocsipersist
  • ReactiveData
  • i18n
  • Wodoc
  • Other projects
  • Research papers
  • Who does Ocsigen?
  • Contributing
  • Blog
  • Installation
  • Source code

On this page

Manual

  • Overview

Server API

User management

  • User
  • User_view
  • User_proxy
  • Current_user
  • Group
  • Session
  • Connect_phone

Persistence

  • Db
  • Core_db
  • Types
  • Email

Notifications

  • Notif
  • Msg
  • Fcm_notif

Web pages and services

  • Page
  • Services
  • Handlers
  • Icons
  • Tips
  • Uploader
  • Request_cache

Real-time

  • Comet

Utilities

  • Lib
  • Date
  • Platform

On this page

Manual

  • Overview

Server API

User management

  • User
  • User_view
  • User_proxy
  • Current_user
  • Group
  • Session
  • Connect_phone

Persistence

  • Db
  • Core_db
  • Types
  • Email

Notifications

  • Notif
  • Msg
  • Fcm_notif

Web pages and services

  • Page
  • Services
  • Handlers
  • Icons
  • Tips
  • Uploader
  • Request_cache

Real-time

  • Comet

Utilities

  • Lib
  • Date
  • Platform

Module Make.Opt

val connected_page : ?allow:Types.Group.t list -> ?deny:Types.Group.t list -> ?predicate:(Types.User.id option -> 'a -> 'b -> bool Lwt.t) -> ?fallback:(Types.User.id option -> 'a -> 'b -> exn -> content Lwt.t) -> (Types.User.id option -> 'a -> 'b -> content Lwt.t) -> 'a -> 'b -> Html_types.html Eliom.Content.Html.elt Lwt.t

Wrapper for pages that first checks if the user is connected. See Session.Opt.connected_fun.