Scheduled Tasks

Sana Commerce 9.3
Your connector

Remove Expired Admin Login Sessions

When a user logs in to Sana Admin, a login session will be created for this user. In order to minimize the time period an attacker can launch attacks over the active sessions and hijack them, there is an expiration timeout for every session, establishing the amount of time a session remains active.

If the user does not perform any actions in Sana Admin within 20 minutes, the session will expire redirecting the user to the login page.

The Remove expired admin login sessions task removes all expired login sessions from the database.

Set up the "Remove expired admin login sessions" task

To set up the Remove expired admin login sessions task, click Edit.

The table below provides the description of the Remove expired admin login sessions task settings:

Settings Description 
Run on schedule  Use this option to enable automatic running of the Remove expired admin login sessions task according to the configured schedule or disable it to allow only manual start of the task.

If you enable Run on schedule, you should enter either the interval in minutes when the task should run automatically or the fixed time. 

Run interval (in minutes) Enter the time interval in minutes when the task should run automatically.
Run time  Enter the fixed time when the task should run automatically. For the fixed time, the time of the server is used. 
Number of minutes before expired login session is removed  Enter the number of minutes before expired login session is removed. By default, the value of this parameter is set to 60 minutes, meaning that all login sessions that expired more than an hour ago will be removed. 
Maximum archived log files  Enter the maximum number of log files to store. If this number exceeds, the oldest log file will be removed and the new one will be created.