django-session-idle-timeout 1.3.1

Timeout a logged user after a period of time
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, 15:40 GMT
price:
FREE!
developed by:
Tomas Zulberti
homepage:
github.com
license type:
BSD License 
category:
ROOT \ Internet \ Django Plugins

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT