Hello All,
Curious if anyone has done this with any success as I do not want to re-invent the wheel. I want to implement a way to logout a user after a set time regardless of inactivity. Any information is appreciated.
Thanks,
Frank
Hello All,
Curious if anyone has done this with any success as I do not want to re-invent the wheel. I want to implement a way to logout a user after a set time regardless of inactivity. Any information is appreciated.
Thanks,
Frank
Create a custom session property called UserLoginTime
. When the user logs in or the logged in user changes, shove the current timestamp into the property.
Have a session timer script that checks if A) Someone is logged in and B) the difference between the login time and current time is beyond your decided limit, and call system.perspective.logout()
if both are true.