Document caveat in setSession
This commit is contained in:
parent
0b4de794e8
commit
6e43ea5fc3
@ -448,6 +448,9 @@ expiresAt = setHeader "Expires" . formatRFC1123
|
|||||||
-- The session is handled by the clientsession package: it sets an encrypted
|
-- The session is handled by the clientsession package: it sets an encrypted
|
||||||
-- and hashed cookie on the client. This ensures that all data is secure and
|
-- and hashed cookie on the client. This ensures that all data is secure and
|
||||||
-- not tampered with.
|
-- not tampered with.
|
||||||
|
--
|
||||||
|
-- Please note that the value you set here will not be available via
|
||||||
|
-- 'getSession' until the /next/ request.
|
||||||
setSession :: String -- ^ key
|
setSession :: String -- ^ key
|
||||||
-> String -- ^ value
|
-> String -- ^ value
|
||||||
-> GHandler sub master ()
|
-> GHandler sub master ()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user