package ocsigenserver
A full-featured and extensible Web server
Install
Dune Dependency
Authors
Maintainers
Sources
5.1.0.tar.gz
md5=72c9e8479d7e4473e0d26ef10e620870
sha512=ed466e88a61c17d8b4e4cc392efc7b703ef1f4396bf41015fc85063bfe1644ace9b5361d804fb17da4957830c3584ad610f717eb1a90ccec002d3d87f79f41c4
doc/ocsigenserver.cookies/Ocsigen_cookie_map/index.html
Module Ocsigen_cookie_map
Source
This type of maps is used to store cookie values for each path. The key has type Url.path option: it is for the path (default: root of the site).
Type used for cookies to set. The float option is the timestamp for the expiration date. The string is the value. If the bool is true and the protocol is https, the cookie will be secure (will ask the browser to send it only through secure connections).
add ~path c v m
adds the cookie c
to m
.
If the cookie is already bound, the previous binding disappear.
add_multi new old
adds the cookies from new
to old
. If cookies are already bound in oldcookies, the previous binding disappear.
remove c cookie_table
removes the cookie c
from m
.
Warning: it is not equivalent to add ... OUnset ...
).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>