Roundcube Community Forum

 

Session Lifetime

Started by athoomi, May 16, 2012, 02:14:25 AM

Previous topic - Next topic

athoomi

Hello!

I don't understand the difference between those configurations in config.inc.php:


// Session lifetime in minutes
// must be greater than 'keep_alive'/60
$rcmail_config['session_lifetime'] = 10;



// Minimal value of user's 'keep_alive' setting (in seconds)
// Must be less than 'session_lifetime'
$rcmail_config['min_keep_alive'] = 60;



// Default interval for keep-alive/check-recent requests (in seconds)
// Must be greater than or equal to 'min_keep_alive' and less than 'session_lifetime'
$rcmail_config['keep_alive'] = 60;


Many thanks for clarification  :)

SKaero

session_lifetime = The amount of time a user is logged in for after there last action.
min_keep_alive = The minimum time between keep alive requests. Since multiple actions can result in a keep alive request this makes sure your server doesn't get flooded with unnecessary requests.
keep_alive = The standard time interval between keep alive requests.

Hope my descriptions help.