Hello Pathologic ,
Hi, I found a PHP script, and created as a plugin
if (isset($_SESSION['WebLoginPE']) && (time() - $_SESSION['WebLoginPE'] > 1800)) {
// last request was more than 30 minutes ago
session_unset(); // unset $_SESSION variable for the run-time
session_destroy(); // destroy session data in storage
}
$_SESSION['WebLoginPE'] = time(); // update last activity time stamp
I enabled under System Events.
- Web Access Service Events: OnWebLogin
- Template Service Events: OnWebPageInit
I'm not a developer and I have no idea if this is correct???
It works so far when i log in to the frontend
but
If i'm logged into the manager at the same time, i'll be logged out there as well.