django-session-idle-timeout

Timeout a logged user after a period of time
Download

django-session-idle-timeout Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Tomas Zulberti
  • Publisher web site:
  • http://bitbucket.org/tzulberti/

django-session-idle-timeout Tags


django-session-idle-timeout Description

django-session-idle-timeout is a Django middleware application to timeout a logged in user session after a specified time period.Installation instructionsMake 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-timeoutUpdate 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 = 1800That's it, you will receive a session timeout message using the Django message framework in your templates.ImportantThis is a fork of http://github.com/subhranath/django-session-idle-timeoutProduct's homepage


django-session-idle-timeout Related Software