Mod_cookies.Persistent_cookiesmodule Expiry_dates : sig ... endval update :
string ->
expiry:date option ->
timeout:Common.timeout ->
?session_group:Common.perssessgrp option ->
unit ->
unit Lwt.tupdate cookie ~expiry ~timeout ?session_group () changes the expiration date and the timeout of cookie, if it still exists, and its session group if ?session_group is given: the group may have been changed meanwhile by another request of the session.
val set_timeout : string -> Common.timeout -> unit Lwt.tset_timeout cookie timeout changes the timeout of cookie, if it still exists. Its expiration date is computed again at its next request.