summaryrefslogtreecommitdiff
path: root/docs/topics/http/sessions.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/topics/http/sessions.txt')
-rw-r--r--docs/topics/http/sessions.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/topics/http/sessions.txt b/docs/topics/http/sessions.txt
index 745c735e46..313f33bfb9 100644
--- a/docs/topics/http/sessions.txt
+++ b/docs/topics/http/sessions.txt
@@ -244,6 +244,13 @@ You can edit it multiple times.
Deletes the test cookie. Use this to clean up after yourself.
+ .. method:: get_session_cookie_age()
+
+ .. versionadded:: 3.0
+
+ Returns the age of session cookies, in seconds. Defaults to
+ :setting:`SESSION_COOKIE_AGE`.
+
.. method:: set_expiry(value)
Sets the expiration time for the session. You can pass a number of