sessions.backends.base.SessionBase.get_expiry_date()

get_expiry_date()

Returns the date this session will expire. For sessions with no custom expiration (or those set to expire at browser close), this will equal the date SESSION_COOKIE_AGE seconds from now.

This function accepts the same keyword arguments as get_expiry_age().

doc_Django
2016-10-09 18:39:29
Comments
Leave a Comment

Please login to continue.