N
N
NyxDeveloper2021-01-25 12:27:17
Django
NyxDeveloper, 2021-01-25 12:27:17

How to track user idle time and deauthenticate it?

I want to add a feature to my application to deauthorize users if they are idle for more than 20 minutes. There are solutions on the Internet that look like crutches, but I would like to do it the normal way and not reinvent the wheel. Is it possible to solve this using django, or do I still have to do something of my own?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
NyxDeveloper, 2021-01-25
@NyxDeveloper

Quietly, I found the necessary documentation, everything is written in it
https://docs.djangoproject.com/en/dev/topics/http/...

D
Developer, 2021-01-25
@samodum

To do this, make sessions with a limited lifetime

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question