Session timeout for Bahmni and OpenERP

I know there’s session timeout which invalidate user session after certain time of inactivity for both Bahmni and OpenERP. My questions are

  1. How long is the default value ?
  2. Is the duration configurable ?
  1. For OpenMRS, open /opt/openmrs/openmrs/WEB-INF/web.xml and you should see this:


…you’ll have to restart the openmrs service after you modify the value for the changes to take effect

2 . For OpenERP, check the file (…/usr/lib/python2.6/site-packages/openerp-7.0_20130301_002301-py2.6.egg/openerp/addons/web/ -The “session_gc” method shows that sessions will be deleted after a fixed one week period. I haven’t tried modifying it, you’ll probably have to restart openerp too if you make changes to that file.

…and for OpenELIS, the value is set per user and you can do that in the UI by navigating to Administration > Manage Users