Document caveat in setSession

This commit is contained in:
Michael Snoyman 2010-10-20 21:12:29 +02:00
parent 0b4de794e8
commit 6e43ea5fc3

View File

@ -448,6 +448,9 @@ expiresAt = setHeader "Expires" . formatRFC1123
-- 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
-- not tampered with.
--
-- Please note that the value you set here will not be available via
-- 'getSession' until the /next/ request.
setSession :: String -- ^ key
-> String -- ^ value
-> GHandler sub master ()