Mod_sessiongroups.Datatype group_of_group_data =
Common.group_of_groups_entry Ocsigen_base.Cache.Dlist.nodeval add :
Common.sitedata ->
string ->
[< Common.cookie_level ] Common.sessgrp ->
string Ocsigen_base.Cache.Dlist.nodeval remove : 'a Ocsigen_base.Cache.Dlist.node -> unitval remove_group : [< Common.cookie_level ] Common.sessgrp -> unitval find :
[< Common.cookie_level ] Common.sessgrp ->
string Ocsigen_base.Cache.Dlist.treturns the dlist containing all session group elements
val find_node_in_group_of_groups :
[< `Session ] Common.sessgrp ->
group_of_group_data optionGroups of browser sessions belong to a group of groups. As these groups are not associated to a cookie, we put this information here.
val move :
Common.sitedata ->
string Ocsigen_base.Cache.Dlist.node ->
[< Common.cookie_level ] Common.sessgrp ->
string Ocsigen_base.Cache.Dlist.nodeval up : string Ocsigen_base.Cache.Dlist.node -> unitval up_group : [< Common.cookie_level ] Common.sessgrp -> unitup_group g makes g the group of the site used most recently, if it is one: when the site has too many groups, the ones used least recently are closed.
val group_size : [< Common.cookie_level ] Common.sessgrp -> intval set_max : 'a Ocsigen_base.Cache.Dlist.node -> int -> unitval set_group_max : [< Common.cookie_level ] Common.sessgrp -> int -> unitset_group_max g n sets the maximum size of the group g, if it exists: beyond it, the sessions used least recently are closed.