django-session-idle-timeout 1.3.1

Timeout a logged user after a period of time

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Tomas Zulberti
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ Django Plugins
django-session-idle-timeout is a Django middleware application to timeout a logged in user session after a specified time period.

Installation instructions

Make sure the following Django apps/middlewares are enabled.

- Authentication (http://docs.djangoproject.com/en/dev/topics/auth/)
- Sessions (http://docs.djangoproject.com/en/dev/topics/http/sessions/)
- Messages framework (http://docs.djangoproject.com/en/dev/ref/contrib/messages/)

Install django-session-idle-timeout

 easy_install django-session-idle-timeout

Update the MIDDLEWARE_CLASSES on the settings.py. Add the sessions.middleware.SessionIdleTimeout at the bottom.

 MIDDLEWARE_CLASSES = (
 ... 'sessions.middleware.SessionIdleTimeout', )


Update the INSTALLED_APPS. Add 'sessions'.

Add a new entry named 'SESSION_IDLE_TIMEOUT', and specify the idle timeout period, in seconds. The default value is 30min.

 SESSION_IDLE_TIMEOUT = 1800

That's it, you will receive a session timeout message using the Django message framework in your templates.

Important

This is a fork of http://github.com/subhranath/django-session-idle-timeout

Last updated on June 28th, 2012

requirements

#session timeout #Django idle #Django #session #idle #timeout

Add your review!

SUBMIT