package sihl
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
The Sihl web framework
Install
dune-project
Dependency
Authors
Maintainers
Sources
2.0.1.tar.gz
md5=52b28d3faac0a2243735285aa3f962aa
sha512=e7ff89bdba9f1afa3b115a056ae3d403f602685187a968485ea64a7cd1a18791f66b7480b682bf66acd3564dd89139162779d58a43c2389d785c98e246094a18
doc/sihl/Sihl/Web/Session/index.html
Module Web.SessionSource
find ?cookie_key ?secret key request returns the value that is associated to the key in the current session of the request.
cookie_key is the name of the session cookie. By default, the value is _session.
secret is the secret used to sign the session cookie. By default, SIHL_SECRET is used.
Source
val set :
?cookie_key:string ->
?secret:string ->
(string * string) list ->
Opium.Response.t ->
Opium.Response.tset ?cookie_key ?secret data response returns a response that has data associated to the current session by setting the session cookie of the response. set replaces the current session.
cookie_key is the name of the session cookie. By default, the value is _session. If there is a session cookie already present it gets replaced.
secret is the secret used to sign the session cookie. By default, SIHL_SECRET is used.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>