flask.Flask.permanent_session_lifetime¶
-
Flask.permanent_session_lifetime¶ A
timedeltawhich is used to set the expiration date of a permanent session. The default is 31 days which makes a permanent session survive for roughly one month.This attribute can also be configured from the config with the
PERMANENT_SESSION_LIFETIMEconfiguration key. Defaults totimedelta(days=31)