D
|
david22585 9/25/2020 |
Hi Forum Does anyone know if there is a way to setup a User Session Timeout function / feature in phpr Thanks Robert
|
B
|
bob1234 author 9/26/2020 |
Could be easy, depending on what you're looking for. Do you want their login to expire after a certain amount of time/days? Or do you want something that after a certain amount of inactivity, it logs them out?
|
D
|
david22585 9/26/2020 |
Hi David thanks for the reply, I am looking for something that after a certain amount of inactivity, it logs them out. Thanks Robert
|
D
|
david22585 9/27/2020 |
This is just a quick idea to get you on the right path, but in events -> after app init:
|
B
|
bob1234 author 9/27/2020 |
This is just a quick idea to get you on the right path, but in events -> after app init: Then you need to compare the time you want them to logoff with to the current time:
|