diff --git a/docs/api.rst b/docs/api.rst index 5de90d01..50c9820d 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -189,7 +189,7 @@ To access the current session you can use the :class:`session` object: .. attribute:: permanent - If set to `True` the session life for + If set to `True` the session lives for :attr:`~flask.Flask.permanent_session_lifetime` seconds. The default is 31 days. If set to `False` (which is the default) the session will be deleted when the user closes the browser.