Categories
How to log out a person after some time in Django?
Sessions are stored in the cache, they are not in the database. How can I, for example, authorize a person for only 60 minutes?
Answer the question
In order to leave comments, you need to log in
SESSION_COOKIE_AGE = 60 * 60
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question