John
John

Reputation: 21927

django increase inactivity timeout

If I am logged into my Django site but am inactive for a while it automatically logs me out. Is there a way to stop this all together or at least increase the timeout to say an hour or so?

Upvotes: 3

Views: 763

Answers (1)

gruszczy
gruszczy

Reputation: 42188

Try changing session cookies age. There is a setting: http://docs.djangoproject.com/en/dev/topics/http/sessions/#session-cookie-age

Upvotes: 2

Related Questions