How to Fix Users Getting Randomly Logged Out Every Few Minutes on Volicon Observer 9.x

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:

  1. Go to C:\Program Files\Volicon\observer\framework\app

  2. Open UserAuth.php in a text editor.

  3. Locate this section of code.

    $diffInMinutes = ($date - $socket_close) / 60;
    if(!$isMultiview && $diffInMinutes >= 2) {
    static::remove($user['user_id']);
    }

  4. 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']);
    }

  5. After you have made the change, you will click on Start - Run and type in services.msc and press enter.

  6. Locate the Apache service and restart it.

  7. Once the restart is complete, you will then open a command prompt with Admin rights.

  8. Type in:

    CD\ and press enter

  9. Type in:

    CD "Program Files\Volicon\observer\framework" and press enter

  10. 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

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.