Author Topic: session_lifetime vs keep_alive  (Read 3930 times)

Offline roe1234

  • Jr. Member
  • **
  • Posts: 20
session_lifetime vs keep_alive
« on: January 27, 2009, 08:15:11 AM »
can anyone explain the difference between these two variables.

session_lifetime vs keep_alive

Offline jjhunt

  • Jr. Member
  • **
  • Posts: 27
session_lifetime vs keep_alive
« Reply #1 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

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
session_lifetime vs keep_alive
« Reply #2 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.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline jjhunt

  • Jr. Member
  • **
  • Posts: 27
session_lifetime vs keep_alive
« Reply #3 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