Sessions

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Locked
mpmccormick86
Posts: 5
Joined: Sun Nov 06, 2011 6:53 pm

Sessions

Post by mpmccormick86 »

Just wondering where i would look and or how to change the amount of time a logged in session occurs. For example if an employee is logged in and inactive for a period of time, how would i change it to automatically log them out? Im using TimeTrex Standard Edition 5.0.1 manual installl on centos 6.2 32 bit with ssl enabled. Thank you in advance for your time and input.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Sessions

Post by shaunw »

The default session idle time is 4hours, anything more than that and they are automatically logged off.

You can change this by adding the following line (specified in seconds) to your timetrex.ini.php file under the existing [other] section:

Code: Select all

[other]
web_session_timeout = 600
Keep in mind this affects all sessions, even administrator sessions, so setting it too low can cause TimeTrex to not operate properly. For example if you set it to 5 minutes and a large report takes 5 minutes and 30 seconds to generate, the report will never be displayed because the session will always timeout first.

You may want to consider looking into the Quick Punch module available in the Business or Professional Edition of TimeTrex as it uses a separate system that does not require the employee to logout after each punch, and speeds up the entire process while keeping it secure.
Locked