Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: roe1234 on January 27, 2009, 08:15:11 AM

Title: session_lifetime vs keep_alive
Post by: roe1234 on January 27, 2009, 08:15:11 AM
can anyone explain the difference between these two variables.

session_lifetime vs keep_alive
Title: session_lifetime vs keep_alive
Post by: jjhunt on March 05, 2009, 11:21:54 AM
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
Title: session_lifetime vs keep_alive
Post by: JohnDoh on March 06, 2009, 04:20:04 AM
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.
Title: session_lifetime vs keep_alive
Post by: jjhunt on March 06, 2009, 10:03:35 AM
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