I need the app to logout (or at least not be logged in anymore) after a certain number of minutes. So, if someone walks away from their desk, it doesn't stay logged in...like most account website (banks, etc).
Any help will be appreciated! Thanks!
I need the app to logout (or at least not be logged in anymore) after a certain number of minutes. So, if someone walks away from their desk, it doesn't stay logged in...like most account website (banks, etc).
Any help will be appreciated! Thanks!
Are you talking about auto logout after inactive after said 5 minutes (300 second)?
300 means 5 minutes. you can set to whatever reasonable second you like.
If so, this might be the script you're looking for
Put the 4 lines script in Server Events->Global->All Pages->Page Hearder
if (isLoggedIn()) { ?>
<meta http-equiv="refresh" content="300; url=logout.php">
<?php } ?>
<?php