I want to clear the session and auto redirect the user to login page if the user is idle for some specific time .
i found , by using set_expiry() function we can set the idle time ,but actually it clear the session after the specific time even if the user is not idle . i handle the above situation by setting the set_expiry(get_expiry()) function on each request . but it dose not redirect the user automatically ,instead after the idle time out if the user click any link then only it redirect to login page. how to auto redirect after idle time out ? plz help . -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e4fa733c-8b6f-4355-ae75-2ac4fea71223%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.