Forced Logout - Inactivity

Is there a way logout a person out after x_minutes of inactivity?  We have a issue where some members login using a phone or other device and forget to logout.  We want the system to logout them out after a period of time.

 

Hello, I did not quite understand your question.

If you are wanting a pilot to leave the site at an exact time, you can find the code /core/app.config.php (PhpVMS 5.5 Simpilot), it is near line 117. This is the default code:

 

Config::Set('USERS\_ONLINE\_TIME', 20);

And if you want to remove a pilot from your VA, from a time this is the code: (Can be found on line 67 and 68 of the same file) - AUTOMATIC

 

# After how long to mark a pilot inactive, in days Config::Set('PILOT\_AUTO\_RETIRE', true); Config::Set('PILOT\_INACTIVE\_TIME', 90);

 

Also has the cookie, which you can find on line 209 and 210 of the same file:

 

# Cookie information Config::Set('SESSION\_LOGIN\_TIME', (60\*60\*24\*30)); # Expire after 30 days, in seconds Config::Set('SESSION\_GUEST\_EXPIRE', '30'); # Clear guest sessions 30 minutes //Config::Set('SESSION\_COOKIE\_NAME', 'VMS\_AUTH\_COOKIE');

 

Thanks for reply however none of these address the issue.  Its very simple - a person logs into the system and then is inactive for a period of “XX_minutes”.  Then the following should happen:

  1. A warning that they will be disconnected due to inactivity
  2. Disconnected from the system

 

BUMP

 

This requires custom javascript coding. I do not know if it is something easy to do.