How to force users to logout after X minutes of inactivity using Rules, Views or any other popular module ?


update 2012-01-27

Where can I find an example how to do the forced session expire using Rules module ?

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

Drupalmodules.com shows two potential modules:

Session Expire - "Expires rows from the session table older than a certain time."

Automated Logout - "This module provides a site administrator the ability to log users out after a specified time of inactivity."

Either module would probably be able to give you the functionality you want. The automated logout module looks like it could give you a timer to show how much longer a user has before being logged out.

link|improve this answer
Thank you, I will check Session Expire and Automated Logout as well. However I wonder if there is a way how to set this up using Rules (and a custom action maybe?), instead of adding another module for this purpose only. – refineo Sep 22 '11 at 11:57
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.