What factors affect timeout / how to lessen potential data loss because of timeout?
As far as I can tell so far, the following covers the various ways in which users can be logged out of OpenEMR:
-
In OpenEMR,
Administration > Globals > Security > Idle Session Timeout Seconds
- defaults to 7200 (2 hours) -
If the browser window is closed then a user is logged out. php.ini has this:
session.cookie_lifetime = 0
(“Lifetime in seconds of cookie or, if 0, until browser is restarted.)” -
After a period of inactivity between client and server. I believe this is defined by session.gc_maxlifetime in php.ini and defaults to 1440 seconds (24 minutes).
Does that cover everything?
I’m intending to write some documentation for users so that they know what to expect.
I’m also hoping to lessen the chance that a timeout occurs when someone is entering prose over an extended period of time before choosing to save, and losing what they’ve written. Will increasing session.gc_maxlifetime
deal with this?
Thanks