Roundcube Community Forum

 

session_lifetime vs keep_alive

Started by roe1234, January 27, 2009, 08:15:11 AM

Previous topic - Next topic

roe1234

can anyone explain the difference between these two variables.

session_lifetime vs keep_alive

jjhunt

I'm trying to understand these variables as well.  I'd sure like to understand what they are configuring.  Thanks for any explanation!

Also, is RoundCube suppose to automatically logout users after a certain idle time?  I'm wondering if that is what session_lifetime is specifying.  We have session_lifetime set to 10 minutes (the default), but I don't see any automatic logouts after that time period.

Thanks for a great product!

Jackie

JohnDoh

hi,

I think its like this....

session_lifetime is the length of time the session lasts without any action. keep_alive is how frequently the keep_alive signal should be sent to prevent the session from timeing out.

so for eaxmple if you had a session_lifetime of 10mins and didnt do anything or send any keep_alive signals your session should expire if 10mins.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

jjhunt

OK, thanks for the explanation.  That is why we aren't seeing any timeouts, since we are sending keepalives every 60 seconds.  I'll have to see if that's an OK policy here.

Really appreciate the prompt reply!:)
Jackie