MCPcopy
hub / github.com/django/django / get_session_cookie_age

Method get_session_cookie_age

django/contrib/sessions/backends/base.py:270–271  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

268 _session = property(_get_session)
269
270 def get_session_cookie_age(self):
271 return settings.SESSION_COOKIE_AGE
272
273 def get_expiry_age(self, **kwargs):
274 """Get the number of seconds until the session expires.

Callers 4

get_expiry_ageMethod · 0.95
aget_expiry_ageMethod · 0.95
get_expiry_dateMethod · 0.95
aget_expiry_dateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected