DesComm Posted October 12, 2017 Report Share Posted October 12, 2017 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. Quote Link to comment Share on other sites More sharing options...
CarlosEduardo2409 Posted October 13, 2017 Report Share Posted October 13, 2017 (edited) 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'); Edited October 13, 2017 by CarlosEduardo2409 Quote Link to comment Share on other sites More sharing options...
DesComm Posted October 13, 2017 Author Report Share Posted October 13, 2017 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: A warning that they will be disconnected due to inactivity Disconnected from the system Quote Link to comment Share on other sites More sharing options...
DesComm Posted October 20, 2017 Author Report Share Posted October 20, 2017 BUMP Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted October 21, 2017 Moderators Report Share Posted October 21, 2017 This requires custom javascript coding. I do not know if it is something easy to do. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.