Top "Django-sessions" questions

For questions related to Django's session mechanism.

How does one enforce automatic logout due to inactivity in a Django application?

In my Django application, I would like for the user to be automatically logged out after 30 minutes of inactivity, so …

django django-sessions
Django, delete all cookie

I want to delete all cookies for the user under my domain name. I know logout() method removes the session, …

django cookies django-sessions
Django/Auth: logout clears the session data?

I would like to know if auth.logout clears session data or i have to do it by my self. …

django session-variables django-authentication django-sessions
Most optimized way to delete all sessions for a specific user in Django?

I'm running Django 1.3, using Sessions Middleware and Auth Middleware: # settings.py SESSION_ENGINE = django.contrib.sessions.backends.db # Persist sessions …

python django session-cookies django-authentication django-sessions
Django, how to see session data in the admin interface

I'm using Django sessions and I would like a way of seeing the session data in the admin interface. Is …

python django django-sessions
using django session inside templates

# views.py def like(request,option="food",restaurant = 1): if request.is_ajax: like = '%s_like' % str(option) if 'restaurants' …

python django django-templates django-sessions
In django : how to renew expiry date for current session?

I have a user logged in. How can i extend/renew expiry date of session received from the request ? Thanks …

python django session django-sessions
AttributeError: 'WSGIRequest' object has no attribute 'session'

I keep getting this error at random times and whenever I touch the django.wsgi file, it gets fixed only …

django session middleware django-middleware django-sessions