forked from orbit-oss/flask
PERMANENT_SESSION_LIFETIME can now be an integer. This fixes #310
This commit is contained in:
parent
6d0b3264c2
commit
6dccf77546
3 changed files with 35 additions and 9 deletions
|
|
@ -217,6 +217,13 @@ implementation that Flask is using.
|
|||
.. autoclass:: SessionMixin
|
||||
:members:
|
||||
|
||||
.. admonition:: Notice
|
||||
|
||||
The ``PERMANENT_SESSION_LIFETIME`` config key can also be an integer
|
||||
starting with Flask 0.8. Either catch this down yourself or use
|
||||
the :attr:`~flask.Flask.permanent_session_lifetime` attribute on the
|
||||
app which converts the result to an integer automatically.
|
||||
|
||||
|
||||
Test Client
|
||||
-----------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue