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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.