Comment 1 for bug 1852745

Revision history for this message
Huw Wilkins (huwshimi) wrote :

The session cookie is created by Django which also dictates the cookie expiry (in fact the cookie has HttpOnly so can't be accessed by JavaScript).

I think the expiry can be controlled by SESSION_COOKIE_AGE:

https://docs.djangoproject.com/en/3.0/ref/settings/#session-cookie-age