Session Timeout?

Does Omeka Classic have a session timeout feature? As in, the authenticated user’s session times out after a certain period of time? One of my clients requested this and was hoping to be able to turn on some config variable rather than having to build something. Thanks for any advice!

There’s always a timeout specified for all sessions.

There are two related settings in the application/config/application.ini file:

  • resources.session.remember_me_seconds: the length of time before the session cookie is set to expire if a user clicks “Remember Me” when they log in
  • resources.session.gc_maxlifetime: the timeout before an active session is considered stale

They’re both set fairly long by default: 2 weeks.

Thank you so much, that’s perfect!