logout idle users. Just made two small changes to checkSession, the date was in milliseconds so always bigger than the expiry time in the token, which was making a callout to getSession every second instead of only when token was expired. Called the update method on session otherwise it was staying stale in the component context
logout idle users. Just made two small changes to checkSession, the date was in milliseconds so always bigger than the expiry time in the token, which was making a callout to getSession every second instead of only when token was expired. Called the update method on session otherwise it was staying stale in the component context