|
Cookbook /
InactivityTimeoutSummary: Automatically logout inactive users
Version: 2007-07-27
Prerequisites: pmwiki-2.2.0-beta1
Status:
Maintainer: cda (other recipes)
Categories: Security
Questions answered by this recipe
DescriptionTo use this recipe, download InactivityTimeout.phpΔ, copy it into the cookbook/ directory, and add the following line to a local customization file: $InactivityTimeout = <your value in seconds>;
include_once('cookbook/InactivityTimeout.php');
The default timeout is 600 seconds. PHP options (usually set in php.ini) like 'session.gc_maxlifetime' can cause the sessions to expire before $InactivityTimeout seconds. This recipe only makes sure no authenticated user will remain authenticated longer than $InactivityTimeout, not that he will allways remain authenticated $InactivityTimeout seconds. NotesCommentsSee AlsoContributors |