Question:
How to fix users getting randomly logged out every few minutes on Volicon Observer 9.x
Answer:
In Volicon Observer 9.x ONLY, users may have an issue where they are getting randomly logged out every few minutes and before the designated session time.
In order to fix this, you will need to perform the following steps:
- Go to C:\Program Files\Volicon\observer\framework\app
- Open UserAuth.php in a text editor.
- Locate this section of code.
$diffInMinutes = ($date - $socket_close) / 60;
if(!$isMultiview && $diffInMinutes >= 2) {
static::remove($user['user_id']);
} - Comment out the line that starts with static. So you'll want it to look like this.
$diffInMinutes = ($date - $socket_close) / 60;
if(!$isMultiview && $diffInMinutes >= 2) {
//static::remove($user['user_id']);
} - After you have made the change, you will click on Start - Run and type in services.msc and press enter.
- Locate the Apache service and restart it.
- Once the restart is complete, you will then open a command prompt with Admin rights.
- Type in:
CD\ and press enter - Type in:
CD "Program Files\Volicon\observer\framework" and press enter - Type in:
PHP ARTISAN update and hit enter
(update must be lowercase or the command will not run). This will refresh the services, aka remove the services, clears out the caches, reinstall the services and updates the "information".
Keywords:
Volicon Observer Compatible Operating Systems Platforms Windows 10 2012 2016 AWS 64bit x64