do you also set SESSION_COOKIE_AGE? https://stackoverflow.com/questions/9267957/is-there-a-way-to-combine-behavior-of-session-expire-at-browser-close-and-sessio/9290334#9290334
On Tuesday, March 8, 2022 at 10:43:06 AM UTC-5 [email protected] wrote: > I'm trying to clear the expired sessions which are set to be expired after > the browser is closed but they don't seem to expire. > > [image: code.PNG] > The output: > get_expire_at_browser_close: True > All sessions: (A QuerySet contains all the sessions including the ones > that are changed after the browser is closed) > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/29efa14f-8188-4838-abc1-c0d08f9c6ebdn%40googlegroups.com.

